win icon indicating copy to clipboard operation
win copied to clipboard

A Windows API wrapper package for the Go Programming Language

Results 56 win issues
Sort by recently updated
recently updated
newest added

Recently I experienced a crash in my lxn/walk based program on two different machines running Windows 10. ``` Exception 0xc0000005 0x0 0xc042135d20 0x7ffc2cba3f76 PC=0x7ffc2cba3f76 signal arrived during external code execution...

Implements OpenPrinter and ClosePrinter from winspool.h

why it return TTM_ADDTOOL failed when I SendMessage to system

```go hwnd := win.FindWindow(nil, syscall.StringToUTF16Ptr("someApp")) // I want to kill hwnd, how? ```

## Could you merge these functions? var ( moduser32 = syscall.NewLazyDLL("user32.dll") procWaitForInputIdle = moduser32.NewProc("WaitForInputIdle") proGetWindowModuleFileName = moduser32.NewProc("GetWindowModuleFileNameW") ) // WaitForInputIdle waits until the specified process has finished processing its initial...

![20180610202948](https://user-images.githubusercontent.com/15907353/41201631-c50c65ac-6ced-11e8-83b0-98ccd988908e.png) ![20180610203615](https://user-images.githubusercontent.com/15907353/41201644-f232c788-6ced-11e8-8945-013ff4a24846.png) i found some code like this ,but i don't known how to use it. `SetClassLong(hwnd,GCL_HICON,(LONG)LoadIcon(hinstance, IDI_ICON ));`

Hi, It seems like https://msdn.microsoft.com/en-us/library/dd145091(v=vs.85).aspx (SetTextAlign) is missing from the gdi32 stuff. Can I make a PR to add it ? Best,

I am working on building a pdh exporter for prometheus. Currently when my application initiates it calls the win.PdhValidatePath() function approximately 3000 times. Most of the calls succeed, however, some...

Can't find that function https://msdn.microsoft.com/ru-ru/library/windows/desktop/ms647985%28v=vs.85%29.aspx