Click here to Skip to main content
15,909,030 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to insert text to CStdioFile??? Pin
Joaquín M López Muñoz17-Jul-02 2:50
Joaquín M López Muñoz17-Jul-02 2:50 
Generalno luck with changing text on toplevel menu Pin
ns17-Jul-02 1:26
ns17-Jul-02 1:26 
GeneralRe: no luck with changing text on toplevel menu Pin
567890123417-Jul-02 3:02
567890123417-Jul-02 3:02 
GeneralWoW! Thank you!!!!! Pin
ns17-Jul-02 3:11
ns17-Jul-02 3:11 
GeneralImplementing Windows->Close All Menu option in MDI application using VC++/MFC Pin
Binoy17-Jul-02 1:25
Binoy17-Jul-02 1:25 
GeneralRe: Implementing Windows->Close All Menu option in MDI application using VC++/MFC Pin
Joaquín M López Muñoz17-Jul-02 3:15
Joaquín M López Muñoz17-Jul-02 3:15 
GeneralRe: Implementing Windows->Close All Menu option in MDI application using VC++/MFC Pin
Binoy21-Jul-02 18:44
Binoy21-Jul-02 18:44 
GeneralWindow Region and Placement Pin
Dov Sherman17-Jul-02 0:08
Dov Sherman17-Jul-02 0:08 
I'm working on an application which has a CWnd descended window called CAnimateWnd.

CAnimateWnd uses SetWindowRgn(hClipRgn, TRUE) to change the shape of the window frequently. It then uses SetWindowPos() to change the location of the window.

Calling SetWindowRgn() with the second param (bRedraw) TRUE causes the window to be redrawn. Changing the position of the window with SetWindowPos() or MoveWindow() causes the window to be redrawn. However, since the new shape of the window may look wrong until the window is in its new position, I want the window to be redrawn only once.

If I call SetWindowRgn() with bRedraw as FALSE, the area beneath the window is filled back under the assumption of the new region shape rather than the old, leaving bits of the previous view behind.

Is there a way to set the window region and change the position in the same instant?
GeneralRe: Window Region and Placement Pin
Joaquín M López Muñoz17-Jul-02 2:21
Joaquín M López Muñoz17-Jul-02 2:21 
GeneralRe: Window Region and Placement Pin
Dov Sherman17-Jul-02 2:47
Dov Sherman17-Jul-02 2:47 
GeneralRe: Window Region and Placement Pin
Joaquín M López Muñoz17-Jul-02 2:58
Joaquín M López Muñoz17-Jul-02 2:58 
GeneralRe: Window Region and Placement Pin
Dov Sherman17-Jul-02 4:58
Dov Sherman17-Jul-02 4:58 
GeneralRe: Window Region and Placement Pin
Joaquín M López Muñoz17-Jul-02 5:09
Joaquín M López Muñoz17-Jul-02 5:09 
GeneralRe: Window Region and Placement Pin
Dov Sherman17-Jul-02 5:47
Dov Sherman17-Jul-02 5:47 
GeneralRe: Window Region and Placement Pin
Joaquín M López Muñoz17-Jul-02 6:54
Joaquín M López Muñoz17-Jul-02 6:54 
GeneralRe: Window Region and Placement Pin
Dov Sherman17-Jul-02 7:10
Dov Sherman17-Jul-02 7:10 
GeneralRe: Window Region and Placement Pin
Joaquín M López Muñoz17-Jul-02 7:47
Joaquín M López Muñoz17-Jul-02 7:47 
GeneralRe: Window Region and Placement Pin
Dov Sherman17-Jul-02 8:24
Dov Sherman17-Jul-02 8:24 
GeneralRe: Window Region and Placement Pin
Dov Sherman19-Jul-02 2:17
Dov Sherman19-Jul-02 2:17 
GeneralRe: Window Region and Placement Pin
Philippe Mori17-Jul-02 3:10
Philippe Mori17-Jul-02 3:10 
GeneralCListCtrl OnKeyDown message. Pin
Fred dB.16-Jul-02 23:28
Fred dB.16-Jul-02 23:28 
GeneralRe: CListCtrl OnKeyDown message. Pin
Scot Brennecke17-Jul-02 19:39
professionalScot Brennecke17-Jul-02 19:39 
GeneralRe: CListCtrl OnKeyDown message. Pin
Fred dB.17-Jul-02 21:06
Fred dB.17-Jul-02 21:06 
GeneralRe: CListCtrl OnKeyDown message. Pin
Fred dB.18-Jul-02 2:59
Fred dB.18-Jul-02 2:59 
GeneralHelp files... Pin
Neha16-Jul-02 23:24
Neha16-Jul-02 23:24 

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.