Force create handle for Control

c#, controls, handle

Solution

Try to overload `CreateParams` property getter. In it clear the `WS_VISIBLE` flag.

Problem

I'm currently creating a silent print module. The current control I'm using is, it's making sure that the control handle is already created (`IsHandleCreated`). I did everything to cheat this with no luck at all. Do you have ideas in mind on how can I create a handle for the control without displaying any in the screen?

Original source