Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "WinForm" in [All]

shlwapi

.

Sample Code (VB winform):

.

Sample Code (VB winform):

kernel32

.
  • In WinForms: [System.Windows.Forms.PowerStatus]

user32

.

Method for getting WinForm Control associated with the focused window:

.

An example of this that I have encountered is using the FarPoint Spread 3.0/6.0 ActiveX controls. These controls will throw a Runtime protected memory violation exception if they are hosted in a WinForms Form, instantiated and then the Form.MDIParent property is set to an MDI container Form but using the SetParent(childForm.Handle, Me.Handle) call works.

.

static extern TODO WinForm(TODO);

.

Declare Function WinForm Lib "user32.dll" (TODO) As TODO

.
Documentation
[WinForm] on MSDN

ntdll

.

    ProcessWindowInformation, // 50, q: PROCESS_WINDOW_INFORMATION

.

    SystemSessionMappedViewInformation = 0x0044,

.

    SystemEntropyInterruptTimingRawInformation = 0x0092,

shell32

.

Consider a Winform application with a OpenFileDialog that helps pick some file. This is then passed to the ExtractAssociatedIcon method to get the icon and display in a picture box.

.

For a whole winform sample of Displayname see http://Dzaebel.NET/ShGetFileInfo.htm


 
Access PInvoke.net directly from VS: