Click here to Skip to main content
16,007,277 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalasynchronous property Pin
Maer72727-Aug-01 23:59
Maer72727-Aug-01 23:59 
Questionhow to show line numbers in the Text Editor in VC IDE? Pin
haozl27-Aug-01 23:22
haozl27-Aug-01 23:22 
AnswerRe: how to show line numbers in the Text Editor in VC IDE? Pin
Christian Graus27-Aug-01 23:35
protectorChristian Graus27-Aug-01 23:35 
QuestionHow to create child window from dialog? Pin
27-Aug-01 23:15
suss27-Aug-01 23:15 
AnswerRe: How to create child window from dialog? Pin
Christian Graus27-Aug-01 23:28
protectorChristian Graus27-Aug-01 23:28 
GeneralRe: How to create child window from dialog? Pin
27-Aug-01 23:50
suss27-Aug-01 23:50 
GeneralRe: How to create child window from dialog? Pin
Christian Graus28-Aug-01 13:30
protectorChristian Graus28-Aug-01 13:30 
Generaldrawing rectangle when moving a window Pin
27-Aug-01 23:13
suss27-Aug-01 23:13 
hi,

i want to move a dialog based window. this isn't a problem but i do not
want to redraw the dialog along the way, but a rectangle with the size of
the dialog. This results in faster drawing. I tried to return HTCAPTION whenever
i received a WM_NCHITTEST message but the drawing speed left a "trail", that's
why i want to use the rectangle outline.
However i don't succeed in doing this. I have to work with the fullscreen dc
because my app is a dialog and thus the main window.
How do you fill the screen dc again or better delete/restore the space previously
occupied by something else for instance the dragging rectangle and then redraw the rectangle?
Is there any sample code that uses a rectangle to show the new windows position instead
of immediately redrawing the window being moved?

thanks
GeneralRe: drawing rectangle when moving a window Pin
Christian Graus27-Aug-01 23:31
protectorChristian Graus27-Aug-01 23:31 
GeneralRe: drawing rectangle when moving a window Pin
28-Aug-01 0:14
suss28-Aug-01 0:14 
GeneralRe: drawing rectangle when moving a window Pin
Christian Graus28-Aug-01 0:58
protectorChristian Graus28-Aug-01 0:58 
GeneralRe: drawing rectangle when moving a window Pin
28-Aug-01 2:01
suss28-Aug-01 2:01 
GeneralRe: drawing rectangle when moving a window Pin
28-Aug-01 2:16
suss28-Aug-01 2:16 
GeneralRe: drawing rectangle when moving a window Pin
28-Aug-01 19:00
suss28-Aug-01 19:00 
GeneralRe: drawing rectangle when moving a window Pin
Paul M Watt23-Feb-02 16:21
mentorPaul M Watt23-Feb-02 16:21 
Generala simple question about file size Pin
Maer72727-Aug-01 21:46
Maer72727-Aug-01 21:46 
GeneralRe: a simple question about file size Pin
Christian Graus27-Aug-01 23:33
protectorChristian Graus27-Aug-01 23:33 
GeneralRe: a simple question about file size Pin
Maer72728-Aug-01 0:37
Maer72728-Aug-01 0:37 
GeneralRe: a simple question about file size Pin
Christian Graus28-Aug-01 0:55
protectorChristian Graus28-Aug-01 0:55 
GeneralRe: a simple question about file size Pin
Maer72728-Aug-01 3:43
Maer72728-Aug-01 3:43 
Questionwhy register the "Frame Window" as a drag-drop target? Pin
Maer72727-Aug-01 21:45
Maer72727-Aug-01 21:45 
AnswerRe: why register the "Frame Window" as a drag-drop target? Pin
Paul M Watt23-Feb-02 16:17
mentorPaul M Watt23-Feb-02 16:17 
GeneralA Simple Question About "CDocument" Pin
Maer72727-Aug-01 21:34
Maer72727-Aug-01 21:34 
GeneralA Question About "Computer Neighbour" Pin
Maer72727-Aug-01 21:33
Maer72727-Aug-01 21:33 
GeneralRe: A Question About Pin
Jon Sagara27-Aug-01 21:36
Jon Sagara27-Aug-01 21:36 

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.