Click here to Skip to main content
15,891,184 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CList Box controls MFC Pin
David Crow30-Jun-05 5:57
David Crow30-Jun-05 5:57 
GeneralRe: CList Box controls MFC Pin
goodoljosh30-Jun-05 6:12
goodoljosh30-Jun-05 6:12 
GeneralRe: CList Box controls MFC Pin
David Crow30-Jun-05 6:19
David Crow30-Jun-05 6:19 
GeneralRe: CList Box controls MFC Pin
goodoljosh30-Jun-05 6:30
goodoljosh30-Jun-05 6:30 
GeneralRe: CList Box controls MFC Pin
goodoljosh30-Jun-05 6:35
goodoljosh30-Jun-05 6:35 
GeneralGmail Drive namespace extension Pin
Dreaser$30-Jun-05 4:58
Dreaser$30-Jun-05 4:58 
GeneralRe: Gmail Drive namespace extension Pin
Dreaser$1-Jul-05 0:14
Dreaser$1-Jul-05 0:14 
QuestionHow to position a toolbar??? Pin
IlanTal30-Jun-05 4:47
IlanTal30-Jun-05 4:47 
Can anyone tell me what is the proper way to position a toolbar (actually a DialogBar, but the code is very similar) to the right of an existing toolbar? When I use code like:
m_slideBar.Create( this, IDD_SLIDETOOL, CBRS_TOP, IDD_SLIDETOOL );
m_slideBar.EnableDocking(CBRS_ALIGN_ANY);
DockControlBar(&m_slideBar);

It puts the toolbar on the top of the screen, underneath the normal toolbar.
I can use GetWindowRect(&rc1) to get it’s position, but I can’t seem to move it properly. I tried MoveWindow(rc1) but that doesn’t do the job properly. First of all, it leaves a blank “bar”, i.e. a blank space, where m_sliderBar was. Second, it doesn’t show up until I undock the first toolbar. It then appears and I can redock the first bar again.

I’m sure there must be some accepted way of doing this. I just don’t know what it is. Any help would be greatly appreciated.

Thanks,
Ilan

AnswerRe: How to position a toolbar??? Pin
Cedric Moonen30-Jun-05 4:54
Cedric Moonen30-Jun-05 4:54 
GeneralRe: How to position a toolbar??? Pin
IlanTal1-Jul-05 8:37
IlanTal1-Jul-05 8:37 
GeneralAccount type Pin
__makaveli__30-Jun-05 3:10
__makaveli__30-Jun-05 3:10 
GeneralRe: Account type Pin
Blake Miller30-Jun-05 4:45
Blake Miller30-Jun-05 4:45 
GeneralRe: Account type Pin
David Crow30-Jun-05 5:51
David Crow30-Jun-05 5:51 
GeneralRe: Account type Pin
__makaveli__30-Jun-05 5:52
__makaveli__30-Jun-05 5:52 
GeneralVersion Control vs. resource files ( resource.h ) Pin
Maximilien30-Jun-05 2:48
Maximilien30-Jun-05 2:48 
GeneralRe: Version Control vs. resource files ( resource.h ) Pin
krmed30-Jun-05 4:05
krmed30-Jun-05 4:05 
GeneralRe: Version Control vs. resource files ( resource.h ) Pin
Anna-Jayne Metcalfe30-Jun-05 6:38
Anna-Jayne Metcalfe30-Jun-05 6:38 
GeneralRe: Version Control vs. resource files ( resource.h ) Pin
Maximilien30-Jun-05 6:55
Maximilien30-Jun-05 6:55 
GeneralRe: Version Control vs. resource files ( resource.h ) Pin
Anna-Jayne Metcalfe30-Jun-05 11:17
Anna-Jayne Metcalfe30-Jun-05 11:17 
GeneralRe: Version Control vs. resource files ( resource.h ) Pin
charlieg2-Aug-05 3:19
charlieg2-Aug-05 3:19 
GeneralZoom Pin
Anonymous30-Jun-05 2:40
Anonymous30-Jun-05 2:40 
GeneralRe: Zoom Pin
David Crow30-Jun-05 2:47
David Crow30-Jun-05 2:47 
GeneralRe: Zoom Pin
Jose Lamas Rios30-Jun-05 2:58
Jose Lamas Rios30-Jun-05 2:58 
GeneralInitailizing nesting of structures Pin
napoleaninlondon30-Jun-05 1:52
napoleaninlondon30-Jun-05 1:52 
GeneralRe: Initailizing nesting of structures Pin
David Crow30-Jun-05 2:45
David Crow30-Jun-05 2:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.