Click here to Skip to main content
15,921,028 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWindows langages Pin
Raphael Kindt23-Jan-06 3:49
Raphael Kindt23-Jan-06 3:49 
AnswerRe: Windows langages Pin
toxcct23-Jan-06 4:07
toxcct23-Jan-06 4:07 
GeneralRe: Windows langages Pin
Cedric Moonen23-Jan-06 4:22
Cedric Moonen23-Jan-06 4:22 
GeneralRe: Windows langages Pin
toxcct23-Jan-06 4:25
toxcct23-Jan-06 4:25 
GeneralRe: Windows langages Pin
Owner drawn23-Jan-06 17:20
Owner drawn23-Jan-06 17:20 
QuestionPermissions Pin
kelprinc23-Jan-06 3:42
kelprinc23-Jan-06 3:42 
QuestionICopyHook Pin
ragavan23-Jan-06 2:59
ragavan23-Jan-06 2:59 
QuestionRe: ICopyHook Pin
David Crow23-Jan-06 3:28
David Crow23-Jan-06 3:28 
AnswerRe: ICopyHook Pin
ragavan23-Jan-06 3:58
ragavan23-Jan-06 3:58 
QuestionRe: ICopyHook Pin
David Crow23-Jan-06 4:04
David Crow23-Jan-06 4:04 
AnswerRe: ICopyHook Pin
Michael Dunn23-Jan-06 7:37
sitebuilderMichael Dunn23-Jan-06 7:37 
QuestionCould AfxBeginThread not run in a dll? Pin
rushing23-Jan-06 2:37
rushing23-Jan-06 2:37 
AnswerRe: Could AfxBeginThread not run in a dll? Pin
Rage23-Jan-06 2:45
professionalRage23-Jan-06 2:45 
GeneralRe: Could AfxBeginThread not run in a dll? Pin
rushing23-Jan-06 3:18
rushing23-Jan-06 3:18 
GeneralRe: Could AfxBeginThread not run in a dll? Pin
rushing23-Jan-06 3:21
rushing23-Jan-06 3:21 
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 

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.