Click here to Skip to main content
16,007,885 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Making remote machine inaccessible Pin
Sarath C12-Mar-09 20:50
Sarath C12-Mar-09 20:50 
Questionconvert parameter from 'const int' to 'void *' Pin
CHYGO12-Mar-09 17:26
CHYGO12-Mar-09 17:26 
AnswerRe: convert parameter from 'const int' to 'void *' Pin
Rajasekharan Vengalil12-Mar-09 17:38
Rajasekharan Vengalil12-Mar-09 17:38 
AnswerRe: convert parameter from 'const int' to 'void *' Pin
Sarath C12-Mar-09 17:54
Sarath C12-Mar-09 17:54 
QuestionSetting Window Name in CWnd Object Pin
ForNow12-Mar-09 15:11
ForNow12-Mar-09 15:11 
QuestionRe: Setting Window Name in CWnd Object Pin
«_Superman_»12-Mar-09 18:18
professional«_Superman_»12-Mar-09 18:18 
AnswerRe: Setting Window Name in CWnd Object Pin
Hamid_RT12-Mar-09 20:08
Hamid_RT12-Mar-09 20:08 
GeneralRe: Setting Window Name in CWnd Object Pin
ForNow12-Mar-09 21:06
ForNow12-Mar-09 21:06 
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
AnswerRe: Setting Window Name in CWnd Object Pin
A_xin12-Mar-09 23:47
A_xin12-Mar-09 23:47 
GeneralRe: Setting Window Name in CWnd Object Pin
ForNow13-Mar-09 0:59
ForNow13-Mar-09 0:59 
GeneralRe: Setting Window Name in CWnd Object Pin
ForNow13-Mar-09 6:20
ForNow13-Mar-09 6:20 
QuestionSTL <list> destructor</list> Pin
mjackson1112-Mar-09 12:24
mjackson1112-Mar-09 12:24 
AnswerRe: STL destructor Pin
Maximilien12-Mar-09 14:51
Maximilien12-Mar-09 14:51 
AnswerRe: STL destructor Pin
mjackson1112-Mar-09 16:41
mjackson1112-Mar-09 16:41 
AnswerRe: STL destructor Pin
Rajasekharan Vengalil12-Mar-09 17:32
Rajasekharan Vengalil12-Mar-09 17:32 
AnswerRe: STL destructor Pin
Sarath C12-Mar-09 20:58
Sarath C12-Mar-09 20:58 
Questionquery Pin
anassamar12-Mar-09 11:38
anassamar12-Mar-09 11:38 
AnswerRe: query Pin
Stuart Dootson12-Mar-09 11:59
professionalStuart Dootson12-Mar-09 11:59 
AnswerRe: query Pin
David Crow12-Mar-09 16:37
David Crow12-Mar-09 16:37 
AnswerRe: query Pin
A_xin12-Mar-09 23:51
A_xin12-Mar-09 23:51 
QuestionContains [modified] Pin
su_penguin12-Mar-09 11:16
su_penguin12-Mar-09 11:16 
AnswerRe: Contains Pin
Stuart Dootson12-Mar-09 11:56
professionalStuart Dootson12-Mar-09 11:56 
GeneralRe: Contains Pin
Rajasekharan Vengalil12-Mar-09 17:46
Rajasekharan Vengalil12-Mar-09 17:46 
QuestionA class within a class Pin
Chris Copeland12-Mar-09 10:42
mveChris Copeland12-Mar-09 10:42 
AnswerRe: A class within a class Pin
CPallini12-Mar-09 11:09
mveCPallini12-Mar-09 11: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.