Click here to Skip to main content
15,902,032 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: programmatically creating new doc Pin
Pavel Klocek13-Sep-02 11:30
Pavel Klocek13-Sep-02 11:30 
Generalquick STL question: Pin
ns13-Sep-02 9:21
ns13-Sep-02 9:21 
GeneralRe: quick STL question: Pin
Joaquín M López Muñoz13-Sep-02 9:29
Joaquín M López Muñoz13-Sep-02 9:29 
GeneralRe: quick STL question: Pin
Chris Losinger13-Sep-02 9:29
professionalChris Losinger13-Sep-02 9:29 
GeneralRe: quick STL question: Pin
ns13-Sep-02 9:39
ns13-Sep-02 9:39 
QuestionTutorial on threads?? Pin
DarrollWalsh13-Sep-02 7:39
DarrollWalsh13-Sep-02 7:39 
AnswerRe: Tutorial on threads?? Pin
Chris Losinger13-Sep-02 9:43
professionalChris Losinger13-Sep-02 9:43 
QuestionHow to identify class of dialog control Pin
John Oliver13-Sep-02 6:27
John Oliver13-Sep-02 6:27 
Hello,

I want to change the font of all the Frame Static controls on my dialog.

The following code will loop through all the dialog's controls and change all their fonts.

CWnd* pwndChild = GetWindow(GW_CHILD);
while (pwndChild)
{
pwndChild->SetFont( &MyNewFont, FALSE );
pwndChild = pwndChild->GetNextWindow();
}

Could somebody tell me how I can identify if the window is a static frame type.

Thanks,
John

AnswerRe: How to identify class of dialog control Pin
Pavel Klocek13-Sep-02 6:51
Pavel Klocek13-Sep-02 6:51 
GeneralRe: How to identify class of dialog control Pin
John Oliver15-Sep-02 23:01
John Oliver15-Sep-02 23:01 
Generalvariable arguments Pin
Zizilamoroso13-Sep-02 5:12
Zizilamoroso13-Sep-02 5:12 
GeneralRe: variable arguments Pin
Tomasz Sowinski13-Sep-02 5:19
Tomasz Sowinski13-Sep-02 5:19 
GeneralRe: variable arguments Pin
Zizilamoroso13-Sep-02 5:23
Zizilamoroso13-Sep-02 5:23 
GeneralRe: variable arguments Pin
Tomasz Sowinski13-Sep-02 5:28
Tomasz Sowinski13-Sep-02 5:28 
GeneralRe: variable arguments Pin
Pavel Klocek13-Sep-02 5:31
Pavel Klocek13-Sep-02 5:31 
GeneralRe: variable arguments Pin
Zizilamoroso13-Sep-02 5:45
Zizilamoroso13-Sep-02 5:45 
GeneralSystem info Pin
doctorpi13-Sep-02 4:45
doctorpi13-Sep-02 4:45 
GeneralRe: System info Pin
kite13-Sep-02 8:27
kite13-Sep-02 8:27 
GeneralRe: System info Pin
JohnnyG14-Sep-02 7:30
JohnnyG14-Sep-02 7:30 
Generalimage control in status bar Pin
ns13-Sep-02 3:47
ns13-Sep-02 3:47 
GeneralRe: image control in status bar Pin
Pavel Klocek13-Sep-02 4:17
Pavel Klocek13-Sep-02 4:17 
GeneralProcedure Entry Point could not be located Pin
abhinarulkar13-Sep-02 2:15
abhinarulkar13-Sep-02 2:15 
GeneralRe: Procedure Entry Point could not be located Pin
Tomasz Sowinski13-Sep-02 2:20
Tomasz Sowinski13-Sep-02 2:20 
GeneralRe: Procedure Entry Point could not be located Pin
abhinarulkar13-Sep-02 2:44
abhinarulkar13-Sep-02 2:44 
GeneralRe: Procedure Entry Point could not be located Pin
Tomasz Sowinski13-Sep-02 2:49
Tomasz Sowinski13-Sep-02 2:49 

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.