Click here to Skip to main content
16,005,121 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Menu item changed event Pin
gokings13-Aug-04 2:52
gokings13-Aug-04 2:52 
GeneralCHtmlView events Pin
alex.barylski12-Aug-04 19:03
alex.barylski12-Aug-04 19:03 
QuestionHow To create new XML file using msxml.dll? Pin
Rassul Yunussov12-Aug-04 18:41
Rassul Yunussov12-Aug-04 18:41 
AnswerRe: How To create new XML file using msxml.dll? Pin
*Dreamz12-Aug-04 20:17
*Dreamz12-Aug-04 20:17 
GeneralRe: How To create new XML file using msxml.dll? Pin
Rassul Yunussov12-Aug-04 21:13
Rassul Yunussov12-Aug-04 21:13 
GeneralRe: How To create new XML file using msxml.dll? Pin
*Dreamz12-Aug-04 23:12
*Dreamz12-Aug-04 23:12 
QuestionHow can I put a scrollbar's tap on any locatation I want? Pin
dashi2512-Aug-04 14:29
dashi2512-Aug-04 14:29 
GeneralProblem With My Child Window Title Bar Pin
Anonymous12-Aug-04 13:51
Anonymous12-Aug-04 13:51 
Ok, I'm still using VC++ 6.0 (non MFC) coding to create a child window. I did the following on my callback wndproc function:

case WM_NCCREATE:<br />
    if (CreateWindow (szWindowClass, "This Window", WS_CAPTION | WS_SYSMENU | WS_CHILD | WS_VISIBLE,<br />
        200, 200, 300, 250, hWnd, (HMENU) 0xFF00, hInst, NULL) == NULL)<br />
    {<br />
        MessageBox (NULL, "Can't create child window", ERROR, MB_OK);<br />
    }<br />
    return DefWindowProc(hWnd, message, wParam, lParam);<br />


The problem is the child window's title bar is already grey (just like the focus isn't on the window). We know if a window is on the focus the title bar should be blue. Yet, the main window title bar is always blue, meanwhile no matter what I do, the child window title bar is always grey.

I've been looking for the solution for a while, but don't know what the problem is. I downloaded some MFC examples (can't find a VC++ ex.), those have child windows are working fine...so, I'm very lost about what the problem is.

Thanks for any advices.
GeneralMS Access Question Pin
Anonymous12-Aug-04 13:03
Anonymous12-Aug-04 13:03 
GeneralRe: MS Access Question Pin
Member 129553312-Aug-04 19:34
Member 129553312-Aug-04 19:34 
GeneralDll Injection Problem - An Unusual Case Pin
Dr Memory12-Aug-04 11:33
Dr Memory12-Aug-04 11:33 
GeneralHDC to BitBlt (Visual C) Pin
marqua12-Aug-04 11:15
marqua12-Aug-04 11:15 
GeneralRe: HDC to BitBlt (Visual C) Pin
Antony M Kancidrowski12-Aug-04 13:04
Antony M Kancidrowski12-Aug-04 13:04 
GeneralRe: HDC to BitBlt (Visual C) Pin
mahade112-Aug-04 20:06
mahade112-Aug-04 20:06 
GeneralRe: HDC to BitBlt (Visual C) Pin
Ryan Binns12-Aug-04 20:52
Ryan Binns12-Aug-04 20:52 
GeneralArray of Variables Pin
Grahamfff12-Aug-04 11:09
Grahamfff12-Aug-04 11:09 
GeneralRe: Array of Variables Pin
tlerner12-Aug-04 11:14
tlerner12-Aug-04 11:14 
GeneralRe: Array of Variables Pin
mahade112-Aug-04 20:00
mahade112-Aug-04 20:00 
GeneralRe: Array of Variables Pin
Ryan Binns12-Aug-04 20:56
Ryan Binns12-Aug-04 20:56 
GeneralCharacter Counter in MFC Pin
tlerner12-Aug-04 10:20
tlerner12-Aug-04 10:20 
GeneralRe: Character Counter in MFC Pin
wb12-Aug-04 22:51
wb12-Aug-04 22:51 
GeneralRe: Character Counter in MFC Pin
tlerner13-Aug-04 7:15
tlerner13-Aug-04 7:15 
GeneralRe: Character Counter in MFC Pin
wb13-Aug-04 20:44
wb13-Aug-04 20:44 
GeneralRe: Character Counter in MFC Pin
tlerner16-Aug-04 9:02
tlerner16-Aug-04 9:02 
GeneralChild frame outside of main frame Pin
Dababa12-Aug-04 10:20
Dababa12-Aug-04 10:20 

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.