How can I center a CommonDialog control on the screen? It has no hWnd property, no Move method, and no events.
TIA.
Printable View
How can I center a CommonDialog control on the screen? It has no hWnd property, no Move method, and no events.
TIA.
The commonDialog control will position itself at Left = 0, Top = 0 of its container. If you add the control to a form then display it, notice its left top edge coincides with the forms left top edge. So the solution is to insert your commonDialog control within a PictureBox or Frame container. Then moving the container will position the commonDialog box wherever you want it within your form boundries.
John G