Home > database >  About pb call API was used to extract icon
About pb call API was used to extract icon

Time:09-26

Ulong ll_h
Ll_h=ExtractIcon (handle (GetApplication ()), "E: \ office \ Foxmail \ Foxmail exe", 0)

Long wh
Wh=GetWindowDC (handle (p_1))
Messagebox (' ', a string (wh))
Long a
A=DrawIcon (wh, 0, 0, ll_h)
Messagebox (' ', a string (a))
Now I can draw icon on the window, but how can hold out for the ico file

CodePudding user response:

No one?

CodePudding user response:

This is more difficult to achieve, saved as a BMP can
With reference to this can be saved as a BMP
http://blog.csdn.net/yyoinge/archive/2011/04/11/6316874.aspx

CodePudding user response:

Now I can draw icon on the window, but how can hold out for ico file
?Can't let
This can only be recompiled, I think
  • Related