i have created adialog based application where each of them call the other using DoModal().
my question is : if Dialog A is in some position on the screen and then called Dialog B...i want for Dialog B to take the same exactly position as Dialog A .(to be on top of it )...
how can i do that??
Jump to Post
DialogA is in a separate exe than DialogB?
You will need to play with the STARTUPINFO structure when you call CreateProcess().
Either that or just set both dialogs to center themselves on the screen or on their parent when they are used.
Hope this helps.
All 4 Replies
mitrmkar 1,056 Posting Virtuoso
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.