Click here to Skip to main content
16,014,816 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to play a SWF file into a dialog box? Pin
Ted Ferenc24-Dec-02 3:58
Ted Ferenc24-Dec-02 3:58 
AnswerRe: How to play a SWF file into a dialog box? Pin
l a u r e n24-Dec-02 5:09
l a u r e n24-Dec-02 5:09 
Generaloverllaped buttons (controls z-order) Pin
aurimass24-Dec-02 1:22
aurimass24-Dec-02 1:22 
GeneralRe: overllaped buttons (controls z-order) Pin
jmkhael24-Dec-02 2:13
jmkhael24-Dec-02 2:13 
GeneralWS_MINIMIZEBOX in 98 Pin
Neha24-Dec-02 0:09
Neha24-Dec-02 0:09 
GeneralRe: WS_MINIMIZEBOX in 98 Pin
Mike Nordell26-Dec-02 7:22
Mike Nordell26-Dec-02 7:22 
GeneralLock CWnd objects Pin
HellShrimp4free23-Dec-02 23:44
HellShrimp4free23-Dec-02 23:44 
GeneralRe: Lock CWnd objects Pin
Scott H. Settlemier24-Dec-02 2:29
Scott H. Settlemier24-Dec-02 2:29 
Think of it this way:
that CWnd is merely the class wrapping an interface to
an object owned by another application. Windows don't belong
to you, they belong to the operating system. They aren't yours
to "lock."
What that window is there to represent is something of yours
and you simply repaint the window as necessary from it.

Pedantic diatribe aside. Smile | :) Sounds like you are trying to prevent
the window from being invalidated (scheduled to receive WM_ERASEBKGND,
WM_NCPAINT, WM_PAINT and ilk). If it is a window that incurs a
performance hit to render, you might consider rendering to an
offscreen image that is used for paint handling and use an internal
refresh method to update the image. That's one strategy. There are
lots but it depends on what sort of problem you're trying to solve
here.


GeneralRe: Lock CWnd objects Pin
HellShrimp4free24-Dec-02 4:40
HellShrimp4free24-Dec-02 4:40 
GeneralRe: Lock CWnd objects Pin
Scott H. Settlemier24-Dec-02 6:02
Scott H. Settlemier24-Dec-02 6:02 
General*.MAK files Pin
Shah Shehpori23-Dec-02 23:42
sussShah Shehpori23-Dec-02 23:42 
GeneralRe: *.MAK files Pin
jmkhael23-Dec-02 23:47
jmkhael23-Dec-02 23:47 
GeneralRe: *.MAK files Pin
Gary R. Wheeler25-Dec-02 4:34
Gary R. Wheeler25-Dec-02 4:34 
QuestionHow to prevent starting task bar and pressing Alt-Tab Pin
Vu Truong23-Dec-02 23:03
Vu Truong23-Dec-02 23:03 
AnswerRe: How to prevent starting task bar and pressing Alt-Tab Pin
jmkhael23-Dec-02 23:34
jmkhael23-Dec-02 23:34 
Generalgui programming Pin
trustno123-Dec-02 22:12
trustno123-Dec-02 22:12 
GeneralRe: gui programming Pin
Rickard Andersson2023-Dec-02 23:38
Rickard Andersson2023-Dec-02 23:38 
GeneralRe: gui programming Pin
jmkhael23-Dec-02 23:42
jmkhael23-Dec-02 23:42 
GeneralRe: gui programming Pin
Rickard Andersson2023-Dec-02 23:52
Rickard Andersson2023-Dec-02 23:52 
GeneralRe: gui programming Pin
Christian Graus24-Dec-02 0:45
protectorChristian Graus24-Dec-02 0:45 
GeneralOstream pointer to the standard output Pin
tom7623-Dec-02 21:56
tom7623-Dec-02 21:56 
GeneralRe: Ostream pointer to the standard output Pin
udayGovekar23-Dec-02 22:40
udayGovekar23-Dec-02 22:40 
GeneralChecked background Pin
comrade23-Dec-02 21:17
comrade23-Dec-02 21:17 
GeneralRe: Checked background Pin
Christian Graus24-Dec-02 0:46
protectorChristian Graus24-Dec-02 0:46 
GeneralRe: Checked background Pin
comrade24-Dec-02 8:36
comrade24-Dec-02 8: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.