Click here to Skip to main content
15,911,707 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to change the label of button of Dialog box Pin
Code-o-mat17-Dec-08 0:04
Code-o-mat17-Dec-08 0:04 
GeneralRe: how to change the label of button of Dialog box Pin
Rajib Podder17-Dec-08 22:22
Rajib Podder17-Dec-08 22:22 
GeneralRe: how to change the label of button of Dialog box Pin
Code-o-mat17-Dec-08 22:41
Code-o-mat17-Dec-08 22:41 
GeneralRe: how to change the label of button of Dialog box Pin
Rajib Podder18-Dec-08 1:07
Rajib Podder18-Dec-08 1:07 
GeneralRe: how to change the label of button of Dialog box Pin
Code-o-mat18-Dec-08 1:44
Code-o-mat18-Dec-08 1:44 
GeneralRe: how to change the label of button of Dialog box Pin
Rajib Podder18-Dec-08 17:10
Rajib Podder18-Dec-08 17:10 
GeneralRe: how to change the label of button of Dialog box Pin
Code-o-mat18-Dec-08 21:30
Code-o-mat18-Dec-08 21:30 
AnswerRe: how to change the label of button of Dialog box Pin
JudyL_MD17-Dec-08 6:02
JudyL_MD17-Dec-08 6:02 
vikas choudhry wrote:
GetOpenFileName(ofn);
PostMessage((HWND)fileW,(UINT) CDM_SETCONTROLTEXT,(WPARAM)IDOK,(LPARAM)"hi");


Your other responses explain how to do what you want. The reason what you've tried doesn't work is that GetOpenFileName displays a modal dialog. Your PostMessage call doesn't execute until after the Open box has been displayed and closed.

Judy

Be wary of strong drink. It can make you shoot at tax collectors - and miss.
Lazarus Long, "Time Enough For Love" by Robert A. Heinlein

QuestionQuery Related to Setting position of a my window above Taskbar in Vista Pin
Rahul Vaishnav16-Dec-08 22:51
Rahul Vaishnav16-Dec-08 22:51 
AnswerRe: Query Related to Setting position of a my window above Taskbar in Vista Pin
Jijo.Raj16-Dec-08 23:36
Jijo.Raj16-Dec-08 23:36 
GeneralRe: Query Related to Setting position of a my window above Taskbar in Vista Pin
Rahul Vaishnav17-Dec-08 0:30
Rahul Vaishnav17-Dec-08 0:30 
GeneralRe: Query Related to Setting position of a my window above Taskbar in Vista Pin
Iain Clarke, Warrior Programmer17-Dec-08 0:54
Iain Clarke, Warrior Programmer17-Dec-08 0:54 
GeneralRe: Query Related to Setting position of a my window above Taskbar in Vista Pin
Rahul Vaishnav17-Dec-08 1:29
Rahul Vaishnav17-Dec-08 1:29 
AnswerRe: Query Related to Setting position of a my window above Taskbar in Vista Pin
Iain Clarke, Warrior Programmer16-Dec-08 23:36
Iain Clarke, Warrior Programmer16-Dec-08 23:36 
Questioncheckmark/icon in submenu[owner draw menu] Pin
karhong16-Dec-08 22:32
karhong16-Dec-08 22:32 
AnswerRe: checkmark/icon in submenu[owner draw menu] Pin
L. Madhavan16-Dec-08 22:50
L. Madhavan16-Dec-08 22:50 
GeneralRe: checkmark/icon in submenu[owner draw menu] Pin
karhong16-Dec-08 23:18
karhong16-Dec-08 23:18 
GeneralRe: checkmark/icon in submenu[owner draw menu] Pin
L. Madhavan17-Dec-08 2:02
L. Madhavan17-Dec-08 2:02 
GeneralRe: checkmark/icon in submenu[owner draw menu] Pin
karhong17-Dec-08 14:25
karhong17-Dec-08 14:25 
AnswerRe: checkmark/icon in submenu[owner draw menu] Pin
Iain Clarke, Warrior Programmer16-Dec-08 23:11
Iain Clarke, Warrior Programmer16-Dec-08 23:11 
GeneralRe: checkmark/icon in submenu[owner draw menu] Pin
karhong16-Dec-08 23:21
karhong16-Dec-08 23:21 
GeneralRe: checkmark/icon in submenu[owner draw menu] Pin
Iain Clarke, Warrior Programmer16-Dec-08 23:43
Iain Clarke, Warrior Programmer16-Dec-08 23:43 
GeneralRe: checkmark/icon in submenu[owner draw menu] Pin
Randor 17-Dec-08 0:03
professional Randor 17-Dec-08 0:03 
AnswerRe: checkmark/icon in submenu[owner draw menu] Pin
Code-o-mat16-Dec-08 23:12
Code-o-mat16-Dec-08 23:12 
Questionwhat is meant by Registration script? what is use of this file and how to create this file? Pin
puppya16-Dec-08 21:44
puppya16-Dec-08 21:44 

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.