Setting Window Name in CWnd Object
-
Hi, Would anyone know in which of the overrideable methods can I set the Window Name ?? ::SetWindowText just seems to set the Text When I do I a FindWindow for that string I dont seem to find it
What exactly do you mean by Window Name if you're not referring to its text/title?
«_Superman_» I love work. It gives me something to do between weekends.
-
Hi, Would anyone know in which of the overrideable methods can I set the Window Name ?? ::SetWindowText just seems to set the Text When I do I a FindWindow for that string I dont seem to find it
I dont undrestand what do you need?
Of one Essence is the human race thus has Creation put the base One Limb impacted is sufficient For all Others to feel the Mace (Saadi )
-
I dont undrestand what do you need?
Of one Essence is the human race thus has Creation put the base One Limb impacted is sufficient For all Others to feel the Mace (Saadi )
I am converting a program I wrote in C to MFC In C I used CreateWindow to Create the Main Window and the Second Param LPCTSTR lpWindowName, Was the Window Name I am able to Do A FindWindow on this to get the Window Handle When I converted the Program to MFC the Wizard Creatred a bucnh of Objects Cwnd .. (guess for the Client Are .. CFrameWnd for the Frame I guess I was looking for Where .. Some overrideable method to insert the Window Title When I tried doing it durning ::OnCreate using SetWindowText the Window title Displayed but the FindWidnow didn't get the Window Handle Durning PreCreateWindow setting the Window name by setting lpszName memeber of CreateStruct structure The Program bombed I am using FindWidow in Dos App to Do IPC with the GUI PROGRAM thankx
-
Hi, Would anyone know in which of the overrideable methods can I set the Window Name ?? ::SetWindowText just seems to set the Text When I do I a FindWindow for that string I dont seem to find it