tags:

views:

21

answers:

1

When opening the window , it should open in the maximize mode.I do not want to click on maximize in the title bar,How to achive this? Should i sendMessage to the window at the point of window opening in the code? Please helpp In Visual studio,c++ language

+1  A: 

You can use the ShowWindow Win32 function with SW_MAXIMIZE as the second parameter.

Naveen