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

C / C++ / MFC

 
GeneralRe: Best wat to download a file with http? Pin
Jay Beckert20-Jan-02 16:59
Jay Beckert20-Jan-02 16:59 
GeneralCopyMemory problems Pin
alex.barylski20-Jan-02 12:59
alex.barylski20-Jan-02 12:59 
GeneralRe: CopyMemory problems Pin
alex.barylski20-Jan-02 13:28
alex.barylski20-Jan-02 13:28 
Generalput images on GDI Pin
DiegoValdevino20-Jan-02 12:54
DiegoValdevino20-Jan-02 12:54 
GeneralRe: put images on GDI Pin
Christian Graus20-Jan-02 13:03
protectorChristian Graus20-Jan-02 13:03 
QuestionTopMost Maximized Window? Pin
DiegoValdevino20-Jan-02 12:50
DiegoValdevino20-Jan-02 12:50 
AnswerRe: TopMost Maximized Window? Pin
Andrew Peace20-Jan-02 14:39
Andrew Peace20-Jan-02 14:39 
Generalcreate an owned popup window Pin
20-Jan-02 12:18
suss20-Jan-02 12:18 
How does one create an owned popup window?

If I use
CreateEx(NULL,
        AfxRegisterWndClass(CS_HREDRAW | CS_VREDRAW, 0, (HBRUSH)(COLOR_WINDOW + 1), 0),
        NULL,
        WS_POPUP | WS_VISIBLE | WS_BORDER,
        rect,
        pParent,
        1,
        NULL);
CreateEx fails to create a window

but, if I use
CreateEx(NULL,
        AfxRegisterWndClass(CS_HREDRAW | CS_VREDRAW, 0, (HBRUSH)(COLOR_WINDOW + 1), 0),
        NULL,
        WS_CHILD | WS_VISIBLE | WS_BORDER,
        rect,
        pParent,
        1,
        NULL);
CreateEx successfully creates a window, but it's visibility is limited to it's parent's client area.

My class is derived from CWnd, and I call CreateEx() in the constructor.

TIA

TA.
GeneralRe: create an owned popup window Pin
24-Jan-02 15:18
suss24-Jan-02 15:18 
GeneralSkin a window Pin
The_Server20-Jan-02 12:12
The_Server20-Jan-02 12:12 
GeneralRe: Skin a window Pin
Christopher Lord20-Jan-02 12:32
Christopher Lord20-Jan-02 12:32 
GeneralRe: Skin a window Pin
Ravi Bhavnani20-Jan-02 12:44
professionalRavi Bhavnani20-Jan-02 12:44 
GeneralRe: Skin a window ( * Explorer Window *) Pin
The_Server20-Jan-02 13:31
The_Server20-Jan-02 13:31 
GeneralRe: Skin a window ( * Explorer Window *) Pin
Christopher Lord20-Jan-02 14:48
Christopher Lord20-Jan-02 14:48 
GeneralRe: Skin a window ( * Explorer Window *) Pin
The_Server20-Jan-02 19:20
The_Server20-Jan-02 19:20 
QuestionSimple mp3 playback? Pin
20-Jan-02 11:55
suss20-Jan-02 11:55 
AnswerRe: Simple mp3 playback? Pin
Christian Graus20-Jan-02 11:59
protectorChristian Graus20-Jan-02 11:59 
GeneralI saw that but... Pin
20-Jan-02 12:14
suss20-Jan-02 12:14 
GeneralGetting MFC controls Pin
Steve Severance20-Jan-02 7:28
Steve Severance20-Jan-02 7:28 
GeneralRe: Getting MFC controls Pin
Ravi Bhavnani20-Jan-02 11:25
professionalRavi Bhavnani20-Jan-02 11:25 
GeneralRe: Getting MFC controls Pin
Steve Severance20-Jan-02 14:36
Steve Severance20-Jan-02 14:36 
GeneralRe: Getting MFC controls Pin
Ravi Bhavnani21-Jan-02 1:37
professionalRavi Bhavnani21-Jan-02 1:37 
GeneralRe: Getting MFC controls Pin
Jay Beckert20-Jan-02 16:56
Jay Beckert20-Jan-02 16:56 
GeneralRe: Getting MFC controls Pin
Roger Allen21-Jan-02 2:26
Roger Allen21-Jan-02 2:26 
GeneralRe: Getting MFC controls Pin
Anna-Jayne Metcalfe21-Jan-02 4:09
Anna-Jayne Metcalfe21-Jan-02 4:09 

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.