Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / Win API call using DBC

Author
Message
mamaji4
22
Years of Service
User Offline
Joined: 24th Nov 2002
Location:
Posted: 27th Mar 2006 00:54
Can someone please help.
I have DBC with enhancement pack.
I want to make the following Windows API call which uses "user32.dll"
SendMessage(xList_HWND,#WM_SETTEXT,0,"TITLE")
empty
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 27th Mar 2006 02:19 Edited at: 27th Mar 2006 02:19
Provided xList_HWND is valid:


this would do the same


Note that most API functions that deal with strings in one way or another, have a Ansi and a unicode version. The Ansi function have a postfix "A" and the unicode ones a "W".
SendMessageA
SendMessageW

mamaji4
22
Years of Service
User Offline
Joined: 24th Nov 2002
Location:
Posted: 27th Mar 2006 09:58
Hi empty,

Thanks a million.
Whatever happend to LLRGT and Danny. They seem to be permanently offline.
empty
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 27th Mar 2006 21:53
All gone, for a little while there was a LL-LLRGT called "munkeynuts" but it's gone now too.

Login to post a reply

Server time is: 2025-05-23 21:03:08
Your offset time is: 2025-05-23 21:03:08