flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
bitRAKE
Simple example.
To WM_CREATE/WM_INITDIALOG: Code: stdcall ConvertStaticToHyperlink,[hWndParent],ID_LINK Code: invoke GetDlgItemText,[hWndParent],ID_LINK,string_buffer,sizeof.string_buffer invoke ShellExecute,0,"Open",string_buffer,0,0,SW_SHOWNORMAL Of course, the static text doesn't need to match the URL - I just like to inform the user where they are going.
|
|||||||||||
![]() |
|
bitRAKE
I've done a conversion of the above example for Win64 - using the new Subclassing API, and added the abliity to change the link color (by updating the control property). Please let me know of errors.
Last edited by bitRAKE on 29 May 2009, 04:15; edited 1 time in total |
|||||||||||
![]() |
|
pete
Wow, i didn't know that such an effort is needed for a hyperlink. Thanks for the example.
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.