views:

15

answers:

1

Good Day,

I'm still working on a custom Print Dialog and all is progressing well.

My current issue has to do with the Collate options. The specs I'm following require me to remove it. I can use Spy++ to specify the ControlID. Is there a way to hide or not display it on my custom dialog?

I'm using C# if that matters.

TIA,

coson

A: 

Once you have the control id you can call GetDlgItem to get the window handle and pass it to ShowWindow to hide the control (O' the irony).

Shay Erlichmen
That's two for two, kind sir. Many thanks.
coson