Click here to Skip to main content
15,905,316 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Creating a dialog when a user hits ctrl+g+d Pin
keegan8-Aug-03 10:04
keegan8-Aug-03 10:04 
GeneralRe: Creating a dialog when a user hits ctrl+g+d Pin
David Crow8-Aug-03 11:03
David Crow8-Aug-03 11:03 
GeneralClick and Double Click recognition Pin
Muhammad Basim8-Aug-03 8:00
sussMuhammad Basim8-Aug-03 8:00 
GeneralAdding bitmap to a CImageList object Pin
AJOsborne8-Aug-03 5:45
AJOsborne8-Aug-03 5:45 
GeneralA big problem while using jpeglib Pin
swandream8-Aug-03 5:15
swandream8-Aug-03 5:15 
GeneralRe: A big problem while using jpeglib Pin
JWood8-Aug-03 6:19
JWood8-Aug-03 6:19 
GeneralRe: A big problem while using jpeglib Pin
swandream8-Aug-03 15:54
swandream8-Aug-03 15:54 
GeneralOwner Drawn Menu Pin
ClickHeRe8-Aug-03 4:52
ClickHeRe8-Aug-03 4:52 
Ok here is the image so you can see the problems related to the questions:

Image

1- I use this to draw the Check in the menu

DrawFrameControl(lpdis->hDC,&rcCheck,DFC_MENU,DFCS_MENUCHECK | DFCS_TRANSPARENT);

But as you can see I can't have the background color the same as the side bar.

2 - The Submenu Arrow is always drawn, is there a way to prevent windows from drawing it and I would use the same function as the check mark for that too.

3 - The menu Window has a sort of border which match's windows colors, Is there a way that I could paint this border another color to make the menu look like a flat one.

Using Win32 API, no MFC ATL or WTL.
Using Visual Studio .NET 2003, Windows XP SP1

If you need more code or other stuff to help, just say so.

Thank You for any replies
David Big Grin | :-D
QuestionCTreeCtrl DeleteAllItems() strange behaviour..!? Pin
Halloko8-Aug-03 4:30
Halloko8-Aug-03 4:30 
QuestionMay we make a friends? Pin
HansonDavid8-Aug-03 4:03
HansonDavid8-Aug-03 4:03 
AnswerRe: May we make a friends? Pin
FlyingDancer8-Aug-03 4:43
FlyingDancer8-Aug-03 4:43 
GeneralRe: May we make a friends? Pin
HansonDavid8-Aug-03 4:48
HansonDavid8-Aug-03 4:48 
AnswerRe: May we make a friends? Pin
Maximilien8-Aug-03 5:38
Maximilien8-Aug-03 5:38 
GeneralRe: May we make a friends? Pin
HansonDavid8-Aug-03 17:01
HansonDavid8-Aug-03 17:01 
GeneralEnable a combobox Pin
keegan8-Aug-03 4:02
keegan8-Aug-03 4:02 
GeneralRe: Enable a combobox Pin
User 66588-Aug-03 4:26
User 66588-Aug-03 4:26 
GeneralRe: Enable a combobox Pin
keegan8-Aug-03 4:40
keegan8-Aug-03 4:40 
GeneralRe: Enable a combobox Pin
User 66588-Aug-03 4:51
User 66588-Aug-03 4:51 
GeneralRe: Enable a combobox Pin
jhwurmbach8-Aug-03 4:44
jhwurmbach8-Aug-03 4:44 
GeneralRe: Enable a combobox Pin
keegan8-Aug-03 5:04
keegan8-Aug-03 5:04 
GeneralRe: Enable a combobox Pin
Anthony_Yio11-Aug-03 1:35
Anthony_Yio11-Aug-03 1:35 
Generalmodeless cdialog as child Pin
Anonymous8-Aug-03 3:55
Anonymous8-Aug-03 3:55 
GeneralRe: modeless cdialog as child Pin
keegan8-Aug-03 4:06
keegan8-Aug-03 4:06 
GeneralRe: modeless cdialog as child Pin
Anonymous8-Aug-03 4:31
Anonymous8-Aug-03 4:31 
GeneralRe: modeless cdialog as child Pin
jhwurmbach8-Aug-03 4:54
jhwurmbach8-Aug-03 4:54 

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.