Click here to Skip to main content
15,917,862 members
Home / Discussions / C#
   

C#

 
Generalmultiple PrintPreviewControl problems :confused: Pin
sachinkalse20-May-04 21:39
sachinkalse20-May-04 21:39 
GeneralRe: multiple PrintPreviewControl problems :confused: Pin
Dave Kreskowiak21-May-04 0:37
mveDave Kreskowiak21-May-04 0:37 
GeneralRe: multiple PrintPreviewControl problems :confused: Pin
sachinkalse23-May-04 15:35
sachinkalse23-May-04 15:35 
GeneralRe: multiple PrintPreviewControl problems :confused: Pin
Dave Kreskowiak23-May-04 16:12
mveDave Kreskowiak23-May-04 16:12 
GeneralRe: multiple PrintPreviewControl problems :confused: Pin
sachinkalse24-May-04 22:19
sachinkalse24-May-04 22:19 
GeneralRe: multiple PrintPreviewControl problems :confused: Pin
Dave Kreskowiak25-May-04 2:42
mveDave Kreskowiak25-May-04 2:42 
GeneralWebBrowser control's Printpreview and Print Pin
Vishnucharan R.V.20-May-04 21:27
Vishnucharan R.V.20-May-04 21:27 
GeneralRe: WebBrowser control's Printpreview and Print Pin
Dave Kreskowiak21-May-04 2:40
mveDave Kreskowiak21-May-04 2:40 
(I THINK!) Since your app didn't actually create the dialog window, a control your app owns did, no, there is no way to open it modal.

As a thought experiment... You might be able to get away with finding the window and getting it's handle (requires calls to Win32API), and then calling the Win32 API functions GetWindowPos and SetWindowPos with the SWP_NOZORDER flag to set that window to maintain its status as the topmost window on the desktop and keep it there. But this will not prevent the user from switching to another task...

(As a side to this little experiment, setting a window modal state can only be done on window creation. You can't create a window, then go back and change it's modal state later.)


RageInTheMachine9532
"...a pungent, gastly, stinky piece of cheese!" -- The Roaming Gnome

QuestionChanging System Mouse Pointer ???? Pin
shajuMathew20-May-04 19:36
shajuMathew20-May-04 19:36 
AnswerRe: Changing System Mouse Pointer ???? Pin
sreejith ss nair20-May-04 20:03
sreejith ss nair20-May-04 20:03 
GeneralRe: Changing System Mouse Pointer ???? Pin
shajuMathew20-May-04 20:09
shajuMathew20-May-04 20:09 
GeneralRe: Changing System Mouse Pointer ???? Pin
sreejith ss nair20-May-04 20:23
sreejith ss nair20-May-04 20:23 
GeneralRe: Changing System Mouse Pointer ???? Pin
shajuMathew20-May-04 20:33
shajuMathew20-May-04 20:33 
AnswerRe: Changing System Mouse Pointer ???? Pin
Heath Stewart21-May-04 4:04
protectorHeath Stewart21-May-04 4:04 
GeneralRe: Changing System Mouse Pointer ???? Pin
shajuMathew21-May-04 18:11
shajuMathew21-May-04 18:11 
GeneralAssemblyInfo.cs Pin
sachinkalse20-May-04 19:09
sachinkalse20-May-04 19:09 
GeneralRe: AssemblyInfo.cs Pin
sreejith ss nair20-May-04 19:59
sreejith ss nair20-May-04 19:59 
GeneralRe: AssemblyInfo.cs [Clickety] Pin
Colin Angus Mackay21-May-04 0:13
Colin Angus Mackay21-May-04 0:13 
GeneralRe: AssemblyInfo.cs [Clickety] Pin
sreejith ss nair21-May-04 0:26
sreejith ss nair21-May-04 0:26 
GeneralRe: AssemblyInfo.cs Pin
Charlie Williams20-May-04 20:02
Charlie Williams20-May-04 20:02 
GeneralRe: AssemblyInfo.cs Pin
Aryadip20-May-04 20:14
Aryadip20-May-04 20:14 
GeneralRe: AssemblyInfo.cs Pin
sachinkalse20-May-04 20:32
sachinkalse20-May-04 20:32 
GeneralInstallation tips Pin
sreejith ss nair20-May-04 18:07
sreejith ss nair20-May-04 18:07 
GeneralRe: Installation tips Pin
Aryadip20-May-04 19:03
Aryadip20-May-04 19:03 
GeneralRe: Installation tips Pin
sreejith ss nair20-May-04 19:20
sreejith ss nair20-May-04 19:20 

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.