Click here to Skip to main content
15,912,977 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionsingelton class Pin
rajeevktripathi16-Apr-06 18:02
rajeevktripathi16-Apr-06 18:02 
AnswerRe: singelton class Pin
Naveen16-Apr-06 18:23
Naveen16-Apr-06 18:23 
GeneralRe: singelton class Pin
Nishad S16-Apr-06 18:25
Nishad S16-Apr-06 18:25 
QuestionRe: singelton class Pin
rajeevktripathi16-Apr-06 18:29
rajeevktripathi16-Apr-06 18:29 
AnswerRe: singelton class Pin
Naveen16-Apr-06 19:20
Naveen16-Apr-06 19:20 
QuestionNeed a toolbar Pin
nightrider1316-Apr-06 14:07
nightrider1316-Apr-06 14:07 
QuestionON_NOTIFY problem in CtreeCtrl - Help Needed! Pin
Jim Jim16-Apr-06 11:24
Jim Jim16-Apr-06 11:24 
QuestionQuestion about XP-Styled Button Pin
RickAurbach16-Apr-06 10:09
RickAurbach16-Apr-06 10:09 
I have two C++/WinAPI (non-MFC) classes which draw buttons. One simply uses default drawing; the other implements custom drawing.

Recently, I added a manifest for CommCtrl6 to get the "XP Styles".

The control class that uses custom drawing is working fine -- it recognizes whether themes are present and if so, uses DrawThemeBackground (with the appropriate parameters) to produce the desired results. [otherwise it used DrawFrameControl].

However, the control that uses purely default drawing isn't behaving as I'd expect. The control draws the approriate XP-Style button, but it always frames it with a 1-pixel black rectangle. I've inspected the button's style and extended style flags, and neither BS_DEFPUSHBUTTON nor WS_BORDER is set.

Why is the control being framed and how do I get rid of it??

Rick Aurbach
Questionparent and child data exchange Pin
llp00na16-Apr-06 7:49
llp00na16-Apr-06 7:49 
AnswerRe: parent and child data exchange Pin
Maxwell Chen16-Apr-06 7:56
Maxwell Chen16-Apr-06 7:56 
GeneralRe: parent and child data exchange Pin
llp00na16-Apr-06 10:43
llp00na16-Apr-06 10:43 
GeneralRe: parent and child data exchange Pin
Maxwell Chen16-Apr-06 20:53
Maxwell Chen16-Apr-06 20:53 
AnswerRe: parent and child data exchange Pin
MANISH RASTOGI16-Apr-06 18:34
MANISH RASTOGI16-Apr-06 18:34 
AnswerRe: parent and child data exchange Pin
MANISH RASTOGI16-Apr-06 18:36
MANISH RASTOGI16-Apr-06 18:36 
GeneralRe: parent and child data exchange Pin
llp00na17-Apr-06 4:20
llp00na17-Apr-06 4:20 
AnswerRe: parent and child data exchange Pin
David Crow17-Apr-06 3:46
David Crow17-Apr-06 3:46 
GeneralRe: parent and child data exchange Pin
llp00na17-Apr-06 4:18
llp00na17-Apr-06 4:18 
GeneralRe: parent and child data exchange Pin
David Crow17-Apr-06 4:44
David Crow17-Apr-06 4:44 
AnswerRe: parent and child data exchange Pin
Radu Sorin18-Apr-06 0:48
Radu Sorin18-Apr-06 0:48 
QuestionScreen Capture and Getting pixels? Pin
dSolariuM16-Apr-06 5:33
dSolariuM16-Apr-06 5:33 
AnswerRe: Screen Capture and Getting pixels? Pin
Saurabh.Garg16-Apr-06 5:54
Saurabh.Garg16-Apr-06 5:54 
AnswerRe: Screen Capture and Getting pixels? Pin
Hamid_RT16-Apr-06 6:35
Hamid_RT16-Apr-06 6:35 
GeneralRe: Screen Capture and Getting pixels? Pin
dSolariuM16-Apr-06 6:59
dSolariuM16-Apr-06 6:59 
GeneralRe: Screen Capture and Getting pixels? Pin
bob1697216-Apr-06 7:36
bob1697216-Apr-06 7:36 
QuestionOptimizing Pin
hint_5416-Apr-06 4:04
hint_5416-Apr-06 4:04 

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.