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

C#

 
AnswerRe: How o change this code to C#? Pin
Dave Kreskowiak10-May-04 0:38
mveDave Kreskowiak10-May-04 0:38 
GeneralDraw text on another app's DirectX window Pin
Darvus9-May-04 18:06
Darvus9-May-04 18:06 
QuestionInitialize control dropped on form? Pin
MilesAhead9-May-04 17:13
MilesAhead9-May-04 17:13 
AnswerRe: Initialize control dropped on form? Pin
Aryadip9-May-04 17:56
Aryadip9-May-04 17:56 
GeneralRe: Initialize control dropped on form? Pin
MilesAhead10-May-04 10:43
MilesAhead10-May-04 10:43 
AnswerRe: Initialize control dropped on form? Pin
MilesAhead13-May-04 11:43
MilesAhead13-May-04 11:43 
Generalwhich dll need to be imported to customize PrintPreviewDialog Pin
sachinkalse9-May-04 16:25
sachinkalse9-May-04 16:25 
GeneralRe: which dll need to be imported to customize PrintPreviewDialog Pin
Heath Stewart10-May-04 3:59
protectorHeath Stewart10-May-04 3:59 
Did you read the documentation for the PrintPreviewDialog? It states right at the bottom: the System.Windows.Forms.dll assembly. Read the documentation to learn what you can override. You will need to use Reflection to change existing behavior for buttons and other controls, however. The PrintPreviewDialog extends Form and just hosts a PrintPreviewControl with some buttons and combo boxes. You might consider a similar approach which would be easier depending on how much you want to change.

Just extend the Form class and host an instance of the PrintPreviewControl. Add your own controls and behavior to the form.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: which dll need to be imported to customize PrintPreviewDialog Pin
sachinkalse12-May-04 21:05
sachinkalse12-May-04 21:05 
GeneralRe: which dll need to be imported to customize PrintPreviewDialog Pin
Heath Stewart13-May-04 2:30
protectorHeath Stewart13-May-04 2:30 
GeneralBeginInvoke Pin
Hugo Hallman9-May-04 12:50
Hugo Hallman9-May-04 12:50 
GeneralRe: BeginInvoke Pin
Heath Stewart10-May-04 3:57
protectorHeath Stewart10-May-04 3:57 
GeneralRe: BeginInvoke Pin
Hugo Hallman10-May-04 5:29
Hugo Hallman10-May-04 5:29 
GeneralRe: BeginInvoke Pin
Heath Stewart10-May-04 5:34
protectorHeath Stewart10-May-04 5:34 
GeneralEmail clients Pin
wfe9-May-04 12:13
wfe9-May-04 12:13 
GeneralRe: Email clients Pin
Dave Kreskowiak10-May-04 0:11
mveDave Kreskowiak10-May-04 0:11 
GeneralRe: Email clients Pin
wfe10-May-04 1:17
wfe10-May-04 1:17 
GeneralRe: Email clients Pin
Heath Stewart10-May-04 3:49
protectorHeath Stewart10-May-04 3:49 
GeneralRe: Email clients Pin
wfe10-May-04 7:59
wfe10-May-04 7:59 
GeneralRe: Email clients Pin
Heath Stewart10-May-04 8:58
protectorHeath Stewart10-May-04 8:58 
GeneralRe: Email clients Pin
wfe10-May-04 9:23
wfe10-May-04 9:23 
GeneralRe: Email clients Pin
Heath Stewart10-May-04 9:43
protectorHeath Stewart10-May-04 9:43 
GeneralRe: Email clients Pin
wfe11-May-04 3:00
wfe11-May-04 3:00 
GeneralRe: Email clients Pin
Heath Stewart11-May-04 3:12
protectorHeath Stewart11-May-04 3:12 
GeneralMemory Usage of a console application Pin
eranas9-May-04 10:25
eranas9-May-04 10:25 

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.