Smart Device Functions:
Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than user32, prefix the name with the module name and a period.
// This helper static method is required because the 32-bit version of user32.dll does not contain this API
<System.Runtime.InteropServices.DllImport("user32.dll", EntryPoint:="SetWindowLong")> _
Public Declare Function SetWindowLongPtr Lib "user32" Alias "SetWindowLongPtrA" _
Alternative Managed API:
Do you know one? Please contribute it!
The constants required to call this can be found in the constant section of this site.
Tips & Tricks:
You can show and hide the window from the taskbar. Use the GWL_EXSTYLE, WS_EX_APPWINDOW and WS_EX_NOACTIVATE constants to achieve this.
GWL_EXSTYLE needs a value of -0x14.
To show a winow, use the following call:
SetWindowLong(GetPinvokeHandle(), GWL_EXSTYLE, WS_EX_APPWINDOW);
To hide a window, use the following call:
SetWindowLong(GetPinvokeHandle(), GWL_EXSTYLE, WS_EX_NOACTIVATE);
Please add some!
Error in Windows 7 64 bit under Parallels on Mac, in Visual Studio Express 13 (Visual Basic Forms Application):
When called, the following error was given:
Additional information: Unable to find an entry point named 'SetWindowLongPtrA' in DLL 'user32'
The SetWindowLongPtr API. Use this one instead of SetWindowLong to assure 64 bit compatibility.
4/7/2014 12:03:08 AM - -126.96.36.199
WindowLongFlags - Flags for GetWindowLong, GetWindowLongPtr, SetWindowLong & SetWindowLongPtr
4/2/2012 2:14:08 AM - -188.8.131.52
Please edit this page!
Do you have...
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more).