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

C / C++ / MFC

 
GeneralRe: Need to display file open dialog in the center of the screen Pin
John R. Shaw11-Mar-07 21:50
John R. Shaw11-Mar-07 21:50 
GeneralRe: Need to display file open dialog in the center of the screen Pin
prasad_som11-Mar-07 22:56
prasad_som11-Mar-07 22:56 
GeneralRe: Need to display file open dialog in the center of the screen Pin
John R. Shaw12-Mar-07 0:08
John R. Shaw12-Mar-07 0:08 
GeneralRe: Need to display file open dialog in the center of the screen Pin
prasad_som12-Mar-07 0:20
prasad_som12-Mar-07 0:20 
GeneralRe: Need to display file open dialog in the center of the screen Pin
John R. Shaw12-Mar-07 1:36
John R. Shaw12-Mar-07 1:36 
GeneralRe: Need to display file open dialog in the center of the screen Pin
amitmistry_petlad 11-Mar-07 21:27
amitmistry_petlad 11-Mar-07 21:27 
AnswerRe: Need to display file open dialog in the center of the screen Pin
prasad_som11-Mar-07 20:40
prasad_som11-Mar-07 20:40 
GeneralRe: Need to display file open dialog in the center of the screen Pin
John R. Shaw11-Mar-07 21:32
John R. Shaw11-Mar-07 21:32 
Like I said, I was not sure if it would help. That code depends on having the handle to the window that you want to center on the screen. There are ways to override common windows behavior called hooking that will allow you to do what you want, so I suggest that you look that up. You will need to dig a little deep and remember that each window has its own class name (not a C++ class name), look up ‘CreateWindow’ in the MSDN and you will have a start on what I am referring too.

I would like to be of more help, but it is the middle of the night here and I should be asleep.

P.S. Next time post your reply to the post you are replying to or I might not notice it.


INTP
"Program testing can be used to show the presence of bugs, but never to show their absence."Edsger Dijkstra

QuestionRe: Need to display file open dialog in the center of the screen Pin
David Crow12-Mar-07 4:35
David Crow12-Mar-07 4:35 
AnswerRe: Need to display file open dialog in the center of the screen Pin
John R. Shaw11-Mar-07 20:40
John R. Shaw11-Mar-07 20:40 
Questionerror of using IID_IHTMLInputElement Pin
MyNothing11-Mar-07 18:53
MyNothing11-Mar-07 18:53 
AnswerRe: error of using IID_IHTMLInputElement Pin
Hamid_RT11-Mar-07 19:10
Hamid_RT11-Mar-07 19:10 
AnswerRe: error of using IID_IHTMLInputElement Pin
prasad_som11-Mar-07 20:13
prasad_som11-Mar-07 20:13 
AnswerRe: error of using IID_IHTMLInputElement Pin
ThatsAlok11-Mar-07 22:17
ThatsAlok11-Mar-07 22:17 
QuestionRe: error of using IID_IHTMLInputElement Pin
prasad_som11-Mar-07 22:59
prasad_som11-Mar-07 22:59 
AnswerRe: error of using IID_IHTMLInputElement Pin
ThatsAlok11-Mar-07 23:28
ThatsAlok11-Mar-07 23:28 
GeneralRe: error of using IID_IHTMLInputElement Pin
prasad_som11-Mar-07 23:32
prasad_som11-Mar-07 23:32 
JokeRe: error of using IID_IHTMLInputElement Pin
Ranjoy Guha11-Mar-07 23:56
Ranjoy Guha11-Mar-07 23:56 
JokeRe: error of using IID_IHTMLInputElement Pin
ThatsAlok12-Mar-07 0:13
ThatsAlok12-Mar-07 0:13 
JokeRe: error of using IID_IHTMLInputElement Pin
ThatsAlok12-Mar-07 0:13
ThatsAlok12-Mar-07 0:13 
JokeRe: error of using IID_IHTMLInputElement Pin
Ranjoy Guha12-Mar-07 0:31
Ranjoy Guha12-Mar-07 0:31 
GeneralRe: error of using IID_IHTMLInputElement Pin
ThatsAlok12-Mar-07 0:34
ThatsAlok12-Mar-07 0:34 
Question[Message Deleted] Pin
devvvy11-Mar-07 17:38
devvvy11-Mar-07 17:38 
AnswerRe: CMap, CString and pointers... Pin
Steve Echols11-Mar-07 16:51
Steve Echols11-Mar-07 16:51 
AnswerRe: CMap, CString and pointers... Pin
John R. Shaw11-Mar-07 18:06
John R. Shaw11-Mar-07 18:06 

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.