Click here to Skip to main content
15,881,882 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to delete a file in AlluserProfile directory? Pin
Code-o-mat14-Jul-10 4:47
Code-o-mat14-Jul-10 4:47 
QuestionInclude file for using _contolfp_s Pin
narayanagvs14-Jul-10 3:26
narayanagvs14-Jul-10 3:26 
AnswerRe: Include file for using _contolfp_s Pin
Aescleal14-Jul-10 3:59
Aescleal14-Jul-10 3:59 
QuestionHow to change the contrast of NB screen? Pin
ERICKYCheng14-Jul-10 1:50
ERICKYCheng14-Jul-10 1:50 
QuestionWhat field of PE Header tells that whether a valid PE file or not? Pin
glitteringsound14-Jul-10 1:35
glitteringsound14-Jul-10 1:35 
AnswerRe: What field of PE Header tells that whether a valid PE file or not? Pin
Code-o-mat14-Jul-10 2:05
Code-o-mat14-Jul-10 2:05 
AnswerRe: What field of PE Header tells that whether a valid PE file or not? Pin
Luc Pattyn14-Jul-10 2:23
sitebuilderLuc Pattyn14-Jul-10 2:23 
QuestionSetDlgItemText() Pin
raju_shiva14-Jul-10 1:16
raju_shiva14-Jul-10 1:16 
HI sir,
How can i get handle of another window.

I am tryiong to send a message to static text box,which is in another window,how can i do it.

I am trying with this.

I have 2 window example (a) and (b)
n a.h

I am doing as
 extern HANDLE hwnd;


in b.cpp
 HANDLE hwnd;


and using this function to display the message

SetDlgItemText(hwnd,IDC_STATIC1,"ds");

But the the handler is not coming here.

what changes i have to do,please let me know.


Thanks
Raj
AnswerRe: SetDlgItemText() Pin
CPallini14-Jul-10 1:52
mveCPallini14-Jul-10 1:52 
AnswerRe: SetDlgItemText() Pin
Richard MacCutchan14-Jul-10 5:53
mveRichard MacCutchan14-Jul-10 5:53 
GeneralRe: SetDlgItemText() Pin
raju_shiva14-Jul-10 20:04
raju_shiva14-Jul-10 20:04 
GeneralRe: SetDlgItemText() Pin
CPallini14-Jul-10 20:37
mveCPallini14-Jul-10 20:37 
GeneralRe: SetDlgItemText() Pin
Richard MacCutchan14-Jul-10 21:46
mveRichard MacCutchan14-Jul-10 21:46 
QuestionMaking window half of the screen Pin
Sakhalean14-Jul-10 0:38
Sakhalean14-Jul-10 0:38 
AnswerRe: Making window half of the screen Pin
Niklas L14-Jul-10 0:51
Niklas L14-Jul-10 0:51 
GeneralRe: Making window half of the screen Pin
Sakhalean14-Jul-10 1:29
Sakhalean14-Jul-10 1:29 
AnswerRe: Making window half of the screen[Modified] Pin
Naveen14-Jul-10 0:54
Naveen14-Jul-10 0:54 
AnswerRe: Making window half of the screen Pin
Emilio Garavaglia14-Jul-10 2:08
Emilio Garavaglia14-Jul-10 2:08 
QuestionConverting an array of glyph indices to string Pin
Member 70956413-Jul-10 23:51
Member 70956413-Jul-10 23:51 
AnswerRe: Converting an array of glyph indices to string Pin
Richard MacCutchan14-Jul-10 1:07
mveRichard MacCutchan14-Jul-10 1:07 
QuestionHow to Move an MFC Button. [modified] Pin
lgmanuel13-Jul-10 22:58
lgmanuel13-Jul-10 22:58 
AnswerRe: How to Move an MFC Button. Pin
Niklas L13-Jul-10 23:04
Niklas L13-Jul-10 23:04 
GeneralRe: How to Move an MFC Button. Pin
lgmanuel13-Jul-10 23:09
lgmanuel13-Jul-10 23:09 
GeneralRe: How to Move an MFC Button. Pin
Niklas L13-Jul-10 23:13
Niklas L13-Jul-10 23:13 
GeneralRe: How to Move an MFC Button. Pin
Cedric Moonen13-Jul-10 23:13
Cedric Moonen13-Jul-10 23:13 

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.