News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

help

Started by rodderswank, December 02, 2005, 11:31:48 PM

Previous topic - Next topic

mkey

Quote
yes but iw ould like it so you cant click on the startmenu

What does this mean? I dont understand. And like rags said, you can set window styles in such a manner that there is no footprint of the program on the taskbar (make it a toolwindow style, but be aware, it's not comaptible with some styles - examine the api help file for details) or no border (style boarder 0x0080000).

Greets,

Markec

rodderswank

ive just tried both those styles they dont seem to do anything

mkey

Hi, rodder

you should REALLY start to use your Win32 Programmer's Reference. There it states

------------ REFERENCE START ---------------

ShowCursor

The ShowCursor function displays or hides the cursor.

int ShowCursor(

    BOOL bShow    // cursor visibility flag 
   );   


Parameters

bShow

Specifies whether the internal display counter is to be incremented or decremented. If bShow is TRUE, the display count is incremented by one. If bShow is FALSE, the display count is decremented by one.

Return Values

The return value specifies the new display counter.

Remarks

This function sets an internal display counter that determines whether the cursor should be displayed. The cursor is displayed only if the display count is greater than or equal to 0. If a mouse is installed, the initial display count is 0. If no mouse is installed, the display count is -1.

------------------ REFERENCE END -------------------

Therefore, if you use something like this

...
ShowCursor,FALSE
...

The cursor should be hidden since the cursor counter by default is NULL, and to hide the cursor you need to set it to a nuber lover then NULL (which is set by the FALSE flag).

As far the toolwindow style, you should try this

---------------- REFERENCE START ------------------
WS_EX_TOOLWINDOW   Creates a tool window; that is, a window intended to be used as a floating toolbar. A tool window has a title bar that is shorter than a normal title bar, and the window title is drawn using a smaller font. A tool window does not appear in the taskbar or in the dialog that appears when the user presses ALT+TAB.
----------------- REFERENCE END --------------------

You should use it as an extra style, and then it must work. At least it does work with CreateDialogParam and CreateWindowEx.


Greets,

Markec

mkey

Hi, rod

here you go

Greets

Markec

[attachment deleted by admin]