Click here to Skip to main content
15,920,632 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem with Adding a vector to my program Pin
Christian Graus27-Nov-02 10:48
protectorChristian Graus27-Nov-02 10:48 
GeneralRe: Problem with Adding a vector to my program Pin
Chris Losinger27-Nov-02 10:51
professionalChris Losinger27-Nov-02 10:51 
GeneralRe: Problem with Adding a vector to my program Pin
Rickard Andersson2027-Nov-02 10:57
Rickard Andersson2027-Nov-02 10:57 
GeneralRe: Problem with Adding a vector to my program Pin
Christian Graus27-Nov-02 11:54
protectorChristian Graus27-Nov-02 11:54 
GeneralRe: Problem with Adding a vector to my program Pin
Rickard Andersson2028-Nov-02 3:31
Rickard Andersson2028-Nov-02 3:31 
GeneralRe: Problem with Adding a vector to my program Pin
Alvaro Mendez27-Nov-02 12:23
Alvaro Mendez27-Nov-02 12:23 
QuestionMSChart.ocx Axis Scaling at runtime ? Pin
Koep27-Nov-02 6:34
Koep27-Nov-02 6:34 
GeneralCControlBar ranting... Pin
Maximilien27-Nov-02 5:34
Maximilien27-Nov-02 5:34 
I'm stuck in this CControlBar hell, using the wonderfull CSizingControlBar, I need to be able to do some stuff when the user closes the floating bar, when he presses on the x button, which is different than when the user show/hide the bars, because I can handle the menu item in the mainframe.

by default, the floating control bar frame is a CMiniDockFrameWnd, see the deeply undocumented m_pFloatingFrameClass member of the CFrameWnd class. so, when I use a CSizingControlBar, the frame is "hard coded" to CMiniDockFrameWnd. and I can't handle messages for it, and I can't handle the close.

So, as explained in the the CSizingControlBar documentation and code, I can replace the pFloatingFrameClass with my own CMiniDockFrameWnd derived class, this kinda' work, but will this replace the miniframe for all toolbars ? yep, looks like it,

I was able to fix this by using my own CMiniDockFrameWnd derived class to handle the WM_NCLBUTTONDOWN and check for HTCLOSE ... and do my stuff, and I also needed to handle the same kind of things when the bar is docked ...

Anyway, I think that the way the controlbars are handled are the work of the devil!

now, go about your daily business ...
Max.
GeneralRe: CControlBar ranting... Pin
Shog927-Nov-02 5:50
sitebuilderShog927-Nov-02 5:50 
GeneralGDI Question Pin
Selevercin27-Nov-02 5:15
Selevercin27-Nov-02 5:15 
GeneralRe: GDI Question Pin
techno_guru27-Nov-02 5:36
techno_guru27-Nov-02 5:36 
GeneralRe: GDI Question Pin
Rick York27-Nov-02 5:55
mveRick York27-Nov-02 5:55 
GeneralRe: GDI Question Pin
Selevercin27-Nov-02 6:32
Selevercin27-Nov-02 6:32 
GeneralRe: GDI Question Pin
Rage27-Nov-02 20:39
professionalRage27-Nov-02 20:39 
QuestionHow do I access the View Pin
NickOne27-Nov-02 4:47
NickOne27-Nov-02 4:47 
GeneralPb with modeless Dialog in VS Add-in Pin
cnaudeau27-Nov-02 4:26
cnaudeau27-Nov-02 4:26 
GeneralEnable EditMenu for RichEdit Pin
Joerg Wiedenmann27-Nov-02 2:40
Joerg Wiedenmann27-Nov-02 2:40 
GeneralAbout Ole DB Pin
deffer27-Nov-02 1:50
deffer27-Nov-02 1:50 
QuestionHow can I do “text wrapping” for a text in a button control Pin
Hamzeh27-Nov-02 1:07
Hamzeh27-Nov-02 1:07 
AnswerRe: How can I do “text wrapping” for a text in a button control Pin
Jason Henderson27-Nov-02 3:11
Jason Henderson27-Nov-02 3:11 
AnswerRe: How can I do “text wrapping” for a text in a button control Pin
Roger Stewart27-Nov-02 3:24
professionalRoger Stewart27-Nov-02 3:24 
GeneralHelp on CryptoAPI under Windows 9x Pin
Anonymous27-Nov-02 0:58
Anonymous27-Nov-02 0:58 
GeneralCWnd::DestroyWindow assertion Pin
Brian van der Beek27-Nov-02 0:51
Brian van der Beek27-Nov-02 0:51 
GeneralRe: CWnd::DestroyWindow assertion Pin
Rage27-Nov-02 1:37
professionalRage27-Nov-02 1:37 
GeneralRe: CWnd::DestroyWindow assertion Pin
Brian van der Beek27-Nov-02 1:43
Brian van der Beek27-Nov-02 1:43 

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.