Click here to Skip to main content
15,914,452 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionwait methods!!!? Pin
mitil203904823045-Dec-03 6:55
mitil203904823045-Dec-03 6:55 
AnswerRe: wait methods!!!? Pin
Joe Woodbury5-Dec-03 20:51
professionalJoe Woodbury5-Dec-03 20:51 
GeneralFunction Question Pin
Nitron5-Dec-03 6:36
Nitron5-Dec-03 6:36 
GeneralRe: Function Question Pin
Ivor S. Sargoytchev5-Dec-03 9:01
Ivor S. Sargoytchev5-Dec-03 9:01 
GeneralStartbar Message Monitoring Pin
Zero_divide_15-Dec-03 6:15
Zero_divide_15-Dec-03 6:15 
QuestionDynamic compact/extended toolbar? Pin
johannks5-Dec-03 5:09
johannks5-Dec-03 5:09 
AnswerRe: Dynamic compact/extended toolbar? Pin
Roger Allen5-Dec-03 5:16
Roger Allen5-Dec-03 5:16 
AnswerRe: Dynamic compact/extended toolbar? Pin
Roger Allen5-Dec-03 5:21
Roger Allen5-Dec-03 5:21 
If you override CFrameWnd::RecalcLayout in your CMainFrame clas, you should get a call here everytime the window is resized or the docking layout changes.

To see whether the toolbar is horizontal or vertically docked, my best suggestion is to get the rectangles of the 1st and 2nd items in the toolbar and see whether it is to the right (horizontal) or below (vertcal) to work out the docking state. Then if its different call LoadToolbar() with the correct resource ID to get the version of the toolbar you will need.

You will need at least the same 2 buttons in both toolbar resources for this to work.


Roger Allen - Sonork 100.10016
If your dead and reading this, then you have no life!
GeneralRe: Dynamic compact/extended toolbar? Pin
johannks5-Dec-03 5:48
johannks5-Dec-03 5:48 
GeneralRe: Dynamic compact/extended toolbar? Pin
johannks5-Dec-03 6:10
johannks5-Dec-03 6:10 
GeneralCTabCtrl is hiding my static text Pin
SteveLoGalbo5-Dec-03 4:26
SteveLoGalbo5-Dec-03 4:26 
Question: MFC articles/demos/srcs on DVD or CD? Pin
ns5-Dec-03 4:03
ns5-Dec-03 4:03 
AnswerRe: : MFC articles/demos/srcs on DVD or CD? Pin
RChin5-Dec-03 5:18
RChin5-Dec-03 5:18 
AnswerRe: : MFC articles/demos/srcs on DVD or CD? Pin
Ravi Bhavnani5-Dec-03 6:39
professionalRavi Bhavnani5-Dec-03 6:39 
GeneralRe: : MFC articles/demos/srcs on DVD or CD? Pin
ns5-Dec-03 7:48
ns5-Dec-03 7:48 
GeneralTabCtrl + Windows XP-Style Pin
mortal5-Dec-03 3:51
mortal5-Dec-03 3:51 
GeneralRe: TabCtrl + Windows XP-Style Pin
Joel Lucsy5-Dec-03 9:21
Joel Lucsy5-Dec-03 9:21 
GeneralRe: TabCtrl + Windows XP-Style Pin
mortal5-Dec-03 20:01
mortal5-Dec-03 20:01 
GeneralRe: using classes in different directory Pin
Maximilien5-Dec-03 3:21
Maximilien5-Dec-03 3:21 
GeneralRe: using classes in different directory Pin
Anonymous5-Dec-03 4:36
Anonymous5-Dec-03 4:36 
GeneralEscapecommunication(SETBRK) Pin
Adi Narayana5-Dec-03 2:44
Adi Narayana5-Dec-03 2:44 
GeneralRe: Escapecommunication(SETBRK) Pin
Roger Wright5-Dec-03 9:23
professionalRoger Wright5-Dec-03 9:23 
Generalusing classes in different directory Pin
hdaly5-Dec-03 2:13
hdaly5-Dec-03 2:13 
GeneralRe: using classes in different directory Pin
Maximilien5-Dec-03 2:38
Maximilien5-Dec-03 2:38 
GeneralRe: using classes in different directory Pin
hdaly5-Dec-03 2:59
hdaly5-Dec-03 2:59 

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.