What set's the nShowCmd parameter of WinMain?
Asked Answered
P

1

6

This seems a little strange that i can't find anything about it, but what actually sets the nShowCmd parameter of WinMain? I know what it does, and i know i can set it for windows I create, but when my program starts execution in WinMain, how is the nShowCmd value being set? What actually sets it?

Pedigree answered 13/7, 2014 at 13:12 Comment(1)
btw, i've already read through msdn.microsoft.com/en-us/library/windows/desktop/…Pedigree
G
9

In most cases - it does explorer: enter image description here

Gutshall answered 13/7, 2014 at 13:17 Comment(1)
In general, whatever executed the program. Also see the start command...Birdseed

© 2022 - 2024 — McMap. All rights reserved.