Access form with handle

  • Thread starter Thread starter Fred B. Nell
  • Start date Start date
F

Fred B. Nell

How can I access form with handle?

SetFormCaption(System.IntPtr FormHandle, string FormCaption)
{
//set form caption here
}
 
You mean for setting the window caption? If so, you may want to call
SetWindowText() API through PInvoke.

How can I access form with handle?

SetFormCaption(System.IntPtr FormHandle, string FormCaption)
{
//set form caption here
}
 
Hi Shiva,
My purpose is not set only caption. I want access form with handle and set
their some properties. (like caption, size etc.)
 
Back
Top