hello,i'm new to win32asm programming.
can u please reply my question
is there a method to hide hourglass(busy status) of mouse cursor when i start my app?
or maybe api function that can allocate specific amount of system resources that my prog cannot exceed?

thanx
Posted on 2002-08-29 19:29:07 by Cozycactus
cactus,

For the first question, change the mouse cursor from the normal arrow to an hourglass while the app is loading.

For the second, the limitation of what resource you program uses is normally the size of the resource section and the allocated memory. These are things that you normally control yourself.

If your app has extendable things like a seperate thread for each net connection or similar, you will have to track how many you want as a limit and set the limit yourself.

Regards,

hutch@movsd.com
Posted on 2002-08-29 21:51:35 by hutch--
and what function i must use?

SetSystemCursor with OCR_APPSTARTING id?

i would like to see examples
Posted on 2002-08-30 08:37:01 by Cozycactus
Use SetCursor
Posted on 2002-08-30 09:09:17 by ante
If your app is taking so long to load that the cursor is annoying you, then create a splash screen which has no cursor, and display that while the app loads.
Posted on 2002-08-31 07:52:59 by sluggy