Click here to Skip to main content
15,900,725 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Interrupt under windows??? Pin
Mike Nordell29-Oct-01 14:50
Mike Nordell29-Oct-01 14:50 
AnswerRe: Interrupt under windows??? Pin
Rassman30-Oct-01 5:10
Rassman30-Oct-01 5:10 
GeneralProgram saving state at system shutdown Pin
Jason Hooper28-Oct-01 18:10
Jason Hooper28-Oct-01 18:10 
GeneralRe: Program saving state at system shutdown Pin
Nish Nishant28-Oct-01 19:41
sitebuilderNish Nishant28-Oct-01 19:41 
GeneralRe: Program saving state at system shutdown Pin
Tomasz Sowinski29-Oct-01 1:35
Tomasz Sowinski29-Oct-01 1:35 
GeneralToolbar Style Pin
Steve L.28-Oct-01 14:50
Steve L.28-Oct-01 14:50 
GeneralRe: Toolbar Style Pin
Christian Graus28-Oct-01 15:27
protectorChristian Graus28-Oct-01 15:27 
GeneralRe: Toolbar Style Pin
Tomasz Sowinski29-Oct-01 1:47
Tomasz Sowinski29-Oct-01 1:47 
Unfortunately, CControlBar::DrawGripper is not virtual. It's called only from two places in MFC 6 - one of them is CControlBar::DoPaint, which is short and virtual. This one is easy to override with your own call to double-gripper drawing function.

Unfortunately, there's another non-virtual function which calls DrawGripper - CControlBar::EraseNonClient. You'd have to hunt down and replace all calls to EraseNonClient in your toolbar class.

Tomasz Sowinski -- http://www.shooltz.com
QuestionIs there a simple way to save the client area as a .BMP? Pin
28-Oct-01 12:22
suss28-Oct-01 12:22 
AnswerRe: Is there a simple way to save the client area as a .BMP? Pin
Christian Graus28-Oct-01 12:40
protectorChristian Graus28-Oct-01 12:40 
GeneralTrying to draw a grid onto a CView Pin
AJ12328-Oct-01 11:35
AJ12328-Oct-01 11:35 
GeneralRe: Trying to draw a grid onto a CView Pin
Christian Graus28-Oct-01 12:20
protectorChristian Graus28-Oct-01 12:20 
GeneralRe: Trying to draw a grid onto a CView Pin
AJ12329-Oct-01 8:06
AJ12329-Oct-01 8:06 
GeneralRe: Trying to draw a grid onto a CView Pin
Todd Smith28-Oct-01 13:59
Todd Smith28-Oct-01 13:59 
GeneralRe: DIBSections Pin
Chambers28-Oct-01 11:05
Chambers28-Oct-01 11:05 
GeneralRe: DIBSections Pin
Chris Losinger28-Oct-01 11:48
professionalChris Losinger28-Oct-01 11:48 
GeneralRe: DIBSections Pin
Joaquín M López Muñoz28-Oct-01 11:55
Joaquín M López Muñoz28-Oct-01 11:55 
GeneralRe: DIBSections Pin
Christian Graus28-Oct-01 12:06
protectorChristian Graus28-Oct-01 12:06 
GeneralRe: DIBSections Pin
Mike Nordell29-Oct-01 12:19
Mike Nordell29-Oct-01 12:19 
GeneralRe: DIBSections Pin
Christian Graus29-Oct-01 12:51
protectorChristian Graus29-Oct-01 12:51 
Generalargh, dialog resource menu enabling/graying Pin
Kuniva28-Oct-01 10:35
Kuniva28-Oct-01 10:35 
GeneralRe: argh, dialog resource menu enabling/graying Pin
Crercio O. Silva28-Oct-01 10:57
Crercio O. Silva28-Oct-01 10:57 
GeneralRe: argh, dialog resource menu enabling/graying Pin
Michael Dunn28-Oct-01 13:36
sitebuilderMichael Dunn28-Oct-01 13:36 
Generalthanks Pin
Kuniva28-Oct-01 22:47
Kuniva28-Oct-01 22:47 
GeneralDynamic building of menu in an MFC Application Pin
Stephane Routelous28-Oct-01 9:46
Stephane Routelous28-Oct-01 9:46 

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.