flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
bitRAKE 18 Dec 2007, 06:56
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 28 May 2009, 08:24
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 28 May 2009, 13:02
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-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.