Vishu
Vishu

Reputation: 1

How to Maximize the window,without clicking the maximize Avaialble in the title bar

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

Upvotes: 0

Views: 192

Answers (1)

Naveen
Naveen

Reputation: 73433

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

Upvotes: 1

Related Questions