Click here to Skip to main content
15,890,557 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Could AfxBeginThread not run in a dll? Pin
Rage23-Jan-06 3:37
professionalRage23-Jan-06 3:37 
GeneralRe: Could AfxBeginThread not run in a dll? Pin
rushing23-Jan-06 3:44
rushing23-Jan-06 3:44 
GeneralRe: Could AfxBeginThread not run in a dll? Pin
Rage23-Jan-06 4:54
professionalRage23-Jan-06 4:54 
GeneralRe: Could AfxBeginThread not run in a dll? Pin
Rage23-Jan-06 3:39
professionalRage23-Jan-06 3:39 
GeneralRe: Could AfxBeginThread not run in a dll? Pin
rushing23-Jan-06 3:50
rushing23-Jan-06 3:50 
GeneralRe: Could AfxBeginThread not run in a dll? Pin
Rage23-Jan-06 4:55
professionalRage23-Jan-06 4:55 
GeneralRe: Could AfxBeginThread not run in a dll? Pin
rushing24-Jan-06 23:37
rushing24-Jan-06 23:37 
QuestionHow to draw next to a menu Pin
Shraddhan23-Jan-06 2:18
Shraddhan23-Jan-06 2:18 
I have a window which contains a menu, two large edit boxes filling the whole space underneath, and nothing else. No caption / title bar.

To allow dragging the window, the area to the right of the menu can be used instead of the caption area. All works fine, but I would like to draw something on this area to indicate that it is an area on which the user can click to drag the window.

So my question is, how do I draw in the menu area? Not on an actual menu item, but in the empty space to the right?

I tried this in OnPaint and no luck, I tried OnNcPaint. I thought I could just detect some flicker from my drawing when I resized the window, and the window border at the far right did have something drawn on it, but too low down, below the menu.

Is what I am trying to do possible without creating my own menu and menu handler?

Shraddhan
AnswerRe: How to draw next to a menu Pin
Rage23-Jan-06 2:41
professionalRage23-Jan-06 2:41 
GeneralRe: How to draw next to a menu Pin
Shraddhan23-Jan-06 16:16
Shraddhan23-Jan-06 16:16 
AnswerRe: How to draw next to a menu Pin
Owner drawn23-Jan-06 16:37
Owner drawn23-Jan-06 16:37 
GeneralRe: How to draw next to a menu Pin
Shraddhan23-Jan-06 16:48
Shraddhan23-Jan-06 16:48 
GeneralRe: How to draw next to a menu Pin
Owner drawn23-Jan-06 17:18
Owner drawn23-Jan-06 17:18 
GeneralRe: How to draw next to a menu Pin
Shraddhan23-Jan-06 17:36
Shraddhan23-Jan-06 17:36 
QuestionRe: How to draw next to a menu Pin
Owner drawn23-Jan-06 17:42
Owner drawn23-Jan-06 17:42 
AnswerRe: How to draw next to a menu Pin
Shraddhan23-Jan-06 17:52
Shraddhan23-Jan-06 17:52 
QuestionShare level permissions Pin
kelprinc23-Jan-06 2:14
kelprinc23-Jan-06 2:14 
QuestionVisual Studio setup project-remove MSI files cause the shortcut in Start menu error Pin
Phonol23-Jan-06 1:49
Phonol23-Jan-06 1:49 
Questionhelp! about Remote control soft some function(send screen and file)? Pin
MR.Setting23-Jan-06 1:08
MR.Setting23-Jan-06 1:08 
QuestionCButton not receiving messages Pin
Patrick Markl23-Jan-06 0:48
Patrick Markl23-Jan-06 0:48 
AnswerRe: CButton not receiving messages Pin
Rage23-Jan-06 2:42
professionalRage23-Jan-06 2:42 
GeneralRe: CButton not receiving messages Pin
Patrick Markl23-Jan-06 3:39
Patrick Markl23-Jan-06 3:39 
GeneralUpgrading VC6 Pin
hairy_hats23-Jan-06 0:06
hairy_hats23-Jan-06 0:06 
GeneralRe: Upgrading VC6 Pin
BadKarma23-Jan-06 1:29
BadKarma23-Jan-06 1:29 
GeneralRe: Upgrading VC6 Pin
Shraddhan23-Jan-06 2:35
Shraddhan23-Jan-06 2:35 

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.