Jump to content

Recommended Posts

Posted (edited)

I can use nircmd.exe to disable min and max button.how to disable Close button ?

post-189069-1216785492_thumb.png

post-189069-1216785485_thumb.png

=======================================

another question: Is there a style that can pin a windown to desktop?

=======================================

i just found this "style"

// window style values.

ws_border = 0x00800000;

ws_caption = 0x00c00000;

ws_child = 0x40000000;

ws_childwindow = 0x40000000;

ws_clipchildren = 0x02000000;

ws_clipsiblings = 0x04000000;

ws_disabled = 0x08000000;

ws_dlgframe = 0x00400000;

ws_group = 0x00020000;

ws_hscroll = 0x00100000;

ws_iconic = 0x20000000;

ws_maximize = 0x01000000;

ws_maximizebox = 0x00010000;

ws_minimize = 0x20000000;

ws_minimizebox = 0x00020000;

ws_overlapped = 0x00000000;

ws_overlappedwindow = 0x00cf0000;

ws_popup = unchecked((int)0x80000000);

ws_popupwindow = unchecked((int)0x80880000);

ws_sizebox = 0x00040000;

ws_sysmenu = 0x00080000;

ws_tabstop = 0x00010000;

ws_thickframe = 0x00040000;

ws_tiled = 0x00000000;

ws_tiledwindow = 0x00cf0000;

ws_visible = 0x10000000;

ws_vscroll = 0x00200000;

// extended window styles.

ws_ex_acceptfiles = 0x00000010;

ws_ex_appwindow = 0x00040000;

ws_ex_clientedge = 0x00000200;

ws_ex_composited = 0x02000000;

ws_ex_contexthelp = 0x00000400;

ws_ex_controlparent = 0x00010000;

ws_ex_dlgmodalframe = 0x00000001;

ws_ex_layered = 0x00080000;

ws_ex_layoutrtl = 0x00400000;

ws_ex_left = 0x00000000;

ws_ex_leftscrollbar = 0x00004000;

ws_ex_ltrreading = 0x00000000;

ws_ex_mdichild = 0x00000040;

ws_ex_noactivate = 0x08000000;

ws_ex_noinheritlayout = 0x00100000;

ws_ex_noparentnotify = 0x00000004;

ws_ex_overlappedwindow = 0x00000300;

ws_ex_palettewindow = 0x00000188;

ws_ex_right = 0x00001000;

ws_ex_rightscrollbar = 0x00000000;

ws_ex_rtlreading = 0x00002000;

ws_ex_staticedge = 0x00020000;

ws_ex_toolwindow = 0x00000080;

ws_ex_topmost = 0x00000008;

ws_ex_transparent = 0x00000020;

ws_ex_windowedge = 0x00000100;

Edited by tireless

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...