Re: return control to it's original size

new topic     » goto parent     » topic index » view thread      » older message » newer message
dcole said...

Hello Everybody,

I know there is command to return a control to it's original size (the one used in create or createEx).

I have seen this somewhere in the docs.

I can't find it now.

Any help appreciated.

Don Cole

There is no command that can do that. The nearest we have is to call showWindow() with the SW_RESTORE option. But all that does is change a minimized window to whatever its size was at the time it was minimized.

There is no command that restores a window to its initial creation size. You have to do that yourself using getCtlSize()/setCtlSize() routines.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu