Manually Override Form Maximise Icon?

Announcements and discussion for PInvoke

Moderators: Luke Jefferson, Robert

Manually Override Form Maximise Icon?

Postby b_e_n_u_k » Sun Apr 27, 2008 12:09 pm

I have an MDI .Net win forms applications. The child forms override the WndProc method to capture the maximize message. Instead of maximising the child form fills the parent client area. However this means that the maximise button still displays the maximise icon. Is it possible to override the icon and set it to the unmaximise button and vice-versa.



Thanks,

Ben.
b_e_n_u_k
 
Posts: 1
Joined: Sun Apr 27, 2008 12:04 pm

Return to PInvoke.Net

Who is online

Users browsing this forum: No registered users and 0 guests