21 |
How do I specify that an object should be moved not resized
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSPLITBARLib' for the library: 'ExSplitBar 1.0 Control Library' #import <ExSplitBar.dll> using namespace EXSPLITBARLib; */ EXSPLITBARLib::ISplitBarPtr spSplitBar1 = GetDlgItem(IDC_SPLITBAR1)->GetControlUnknown(); spSplitBar1->PutObjectsLT(L"Command1"); spSplitBar1->PutObjectsRB(L"Command1"); |
20 |
I've noticed some margins that are not painted. How can I prevent/remove that
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSPLITBARLib' for the library: 'ExSplitBar 1.0 Control Library' #import <ExSplitBar.dll> using namespace EXSPLITBARLib; */ EXSPLITBARLib::ISplitBarPtr spSplitBar1 = GetDlgItem(IDC_SPLITBAR1)->GetControlUnknown(); spSplitBar1->PutBorderWidth(0); spSplitBar1->PutBorderHeight(0); spSplitBar1->PutSplitBackColor(RGB(0,0,0)); |
19 |
How can I change the shape of the cursor
|
18 |
How can I display a tooltip when cursor hovers the split bar (pictures)
|
17 |
How can I display a tooltip when cursor hovers the split bar (images)
|
16 |
Is it possible to move the associated objects once the user drags the split bar, not just when it ends
|
15 |
How do I know what events your control supports
// Event event - Notifies the application once the control fires an event. void OnEventSplitBar1(long EventID) { /* Copy and paste the following directives to your header file as it defines the namespace 'EXSPLITBARLib' for the library: 'ExSplitBar 1.0 Control Library' #import <ExSplitBar.dll> using namespace EXSPLITBARLib; */ EXSPLITBARLib::ISplitBarPtr spSplitBar1 = GetDlgItem(IDC_SPLITBAR1)->GetControlUnknown(); OutputDebugStringW( _bstr_t(spSplitBar1->GetEventParam(-2)) ); } |
14 |
Is it possible to get notified once the user moves the split bar
// Drag event - Notifies that the user drags the split bar. void OnDragSplitBar1(long Position) { /* Copy and paste the following directives to your header file as it defines the namespace 'EXSPLITBARLib' for the library: 'ExSplitBar 1.0 Control Library' #import <ExSplitBar.dll> using namespace EXSPLITBARLib; */ EXSPLITBARLib::ISplitBarPtr spSplitBar1 = GetDlgItem(IDC_SPLITBAR1)->GetControlUnknown(); OutputDebugStringW( L"New Position" ); OutputDebugStringW( L"Position" ); } |
13 |
How do I get notified once the user drop the split bar to a new position
// DragEnd event - Occurs once the user ends dragging the split bar. void OnDragEndSplitBar1(long Position,BOOL Cancel) { /* Copy and paste the following directives to your header file as it defines the namespace 'EXSPLITBARLib' for the library: 'ExSplitBar 1.0 Control Library' #import <ExSplitBar.dll> using namespace EXSPLITBARLib; */ EXSPLITBARLib::ISplitBarPtr spSplitBar1 = GetDlgItem(IDC_SPLITBAR1)->GetControlUnknown(); OutputDebugStringW( L"New Position" ); OutputDebugStringW( L"Position" ); } |
12 |
How do I programmatically move the split bar, to the right/bottom most position
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSPLITBARLib' for the library: 'ExSplitBar 1.0 Control Library' #import <ExSplitBar.dll> using namespace EXSPLITBARLib; */ EXSPLITBARLib::ISplitBarPtr spSplitBar1 = GetDlgItem(IDC_SPLITBAR1)->GetControlUnknown(); spSplitBar1->PutObjectsLT(L"Command1"); spSplitBar1->PutObjectsRB(L"Command2"); spSplitBar1->MoveTo(spSplitBar1->GetMax()); |
11 |
How do I programmatically move the split bar, to the left/top most position
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSPLITBARLib' for the library: 'ExSplitBar 1.0 Control Library' #import <ExSplitBar.dll> using namespace EXSPLITBARLib; */ EXSPLITBARLib::ISplitBarPtr spSplitBar1 = GetDlgItem(IDC_SPLITBAR1)->GetControlUnknown(); spSplitBar1->PutObjectsLT(L"Command1"); spSplitBar1->PutObjectsRB(L"Command2"); spSplitBar1->MoveTo(spSplitBar1->GetMin()); |
10 |
How do I programmatically move the split bar
|
9 |
I've noticed that the objects are hidden, when the split bar is closed to the limit. Is it possible to prevent that
|
8 |
How can I specify the limit to move the splitbar (hard coded value)
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSPLITBARLib' for the library: 'ExSplitBar 1.0 Control Library' #import <ExSplitBar.dll> using namespace EXSPLITBARLib; */ EXSPLITBARLib::ISplitBarPtr spSplitBar1 = GetDlgItem(IDC_SPLITBAR1)->GetControlUnknown(); spSplitBar1->PutLimitLT(L"32D"); spSplitBar1->PutLimitRB(L"32D"); |
7 |
How can I specify the limit to move the splitbar (percent)
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSPLITBARLib' for the library: 'ExSplitBar 1.0 Control Library' #import <ExSplitBar.dll> using namespace EXSPLITBARLib; */ EXSPLITBARLib::ISplitBarPtr spSplitBar1 = GetDlgItem(IDC_SPLITBAR1)->GetControlUnknown(); spSplitBar1->PutLimitLT(L"50%"); spSplitBar1->PutLimitRB(L"50%"); |
6 |
How do I change the split bar's visual appearance using your EBN files (BASE64)
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSPLITBARLib' for the library: 'ExSplitBar 1.0 Control Library' #import <ExSplitBar.dll> using namespace EXSPLITBARLib; */ EXSPLITBARLib::ISplitBarPtr spSplitBar1 = GetDlgItem(IDC_SPLITBAR1)->GetControlUnknown(); spSplitBar1->BeginUpdate(); spSplitBar1->PutBackColor(RGB(255,255,255)); spSplitBar1->GetVisualAppearance()->Add(1,_bstr_t("gBFLBCJwBAEHhEJAAEhABV0GACAADACAxSDEMQBQKAAzQFAYbhgHCGAAGUYBRgmFgAQhFcZQSKUOQTDKMIziaQIRDINQlSTJcQxHJEExZCKLACkKKwMgkEYfTLGUxQG") + "AsXBgEoWRjkAYJADYBIJDCME7yHBJDSdGaYIRBGCZbiGOYxQjKMqwJJUfBLEAZKLnGRIbpOA5VSBVcT1VZlPTBHqxaxhED6SjaOJqRpcERTeJobT1FgWRpqUYRSwMMJq" + "WjCNhABKsBgdO4AKpffIwAxNf4XSBIAIQSSBUjGOg6TiMWB4JRqOxCEzpUZDNBIUQTRoAJrgOCAYhcZJVXhAeTbXibZZ8RzgCj4Lg+AQ5cLHbxyPJHZxlHadZ7nOYPTh" + "XFMLBImudA7MEOQjiuFh1ngDQ+C6V4Thw/Z4B0eRnleMJXm6cp8DoHhzD+MZ0jWe52EkP4lC+cZNn4f5fkKFZ6BIXYSjoBgciCBxmAEP4gkgNgOgMIAXGQb4EkUWBVlk" + "O5hggPgaD+IYDj2WQTmICBUFWBZhhgbgOgcXYRC4KoCAcJxkieC5iGgOgvCmXYYjGdwtF+F5tnwOojkidgBgDGpCEIfRemGLZxhGRBnk2dR3l4CQWEgdAeCGJZpHUXxZ" + "D2T4Sl2ZptlyEZdkkZZLHMXwXEoXhyFuY5JkWCIiCcFZHDwHRTi0UQABAECAg"); spSplitBar1->PutSplitBackColor(0x1000000); spSplitBar1->EndUpdate(); |
5 |
How do I change the split bar's visual appearance using your EBN files (file)
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSPLITBARLib' for the library: 'ExSplitBar 1.0 Control Library' #import <ExSplitBar.dll> using namespace EXSPLITBARLib; */ EXSPLITBARLib::ISplitBarPtr spSplitBar1 = GetDlgItem(IDC_SPLITBAR1)->GetControlUnknown(); spSplitBar1->BeginUpdate(); spSplitBar1->PutBackColor(RGB(255,255,255)); spSplitBar1->GetVisualAppearance()->Add(1,"C:\\Program Files\\Exontrol\\ExSplitBar\\Sample\\EBN\\vthumb.ebn"); spSplitBar1->PutSplitBackColor(0x1000000); spSplitBar1->EndUpdate(); |
4 |
How do I specify the objects to be resized to left/top or right/bottom side of the split bar (method runtime)
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSPLITBARLib' for the library: 'ExSplitBar 1.0 Control Library' #import <ExSplitBar.dll> using namespace EXSPLITBARLib; */ EXSPLITBARLib::ISplitBarPtr spSplitBar1 = GetDlgItem(IDC_SPLITBAR1)->GetControlUnknown(); spSplitBar1->AddObjectLT("Command1"); spSplitBar1->AddObjectRB("Command2"); spSplitBar1->AddObjectRB("SplitBar2"); spSplitBar1->AddObjectRB("Command3"); |
3 |
How do I specify the objects to be resized to left/top or right/bottom side of the split bar (method design)
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSPLITBARLib' for the library: 'ExSplitBar 1.0 Control Library' #import <ExSplitBar.dll> using namespace EXSPLITBARLib; */ EXSPLITBARLib::ISplitBarPtr spSplitBar1 = GetDlgItem(IDC_SPLITBAR1)->GetControlUnknown(); spSplitBar1->PutObjectsLT(L"Command1"); spSplitBar1->PutObjectsRB(L"Command2,SplitBar2,Command3"); spSplitBar1->AddObjectLT("Command1"); spSplitBar1->AddObjectRB("Command2"); spSplitBar1->AddObjectRB("SplitBar2"); spSplitBar1->AddObjectRB("Command3"); |
2 |
How do I change the split bar's color
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSPLITBARLib' for the library: 'ExSplitBar 1.0 Control Library' #import <ExSplitBar.dll> using namespace EXSPLITBARLib; */ EXSPLITBARLib::ISplitBarPtr spSplitBar1 = GetDlgItem(IDC_SPLITBAR1)->GetControlUnknown(); spSplitBar1->PutSplitBackColor(RGB(0,255,0)); |
1 |
How do I change the control's background color
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSPLITBARLib' for the library: 'ExSplitBar 1.0 Control Library' #import <ExSplitBar.dll> using namespace EXSPLITBARLib; */ EXSPLITBARLib::ISplitBarPtr spSplitBar1 = GetDlgItem(IDC_SPLITBAR1)->GetControlUnknown(); spSplitBar1->PutBackColor(RGB(255,255,0)); spSplitBar1->PutBorderWidth(4); spSplitBar1->PutBorderHeight(4); |