Problem again...
| From: | Markus Duft | Date: | Thu, 23 Jun 2005 09:36:11 +0000 |
| Subject: | Problem again... | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-2487@lists.php.net to get a copy of this message | ||
Hi Everybody!
I know, this might not be the right place for my question, but i could't find an answer
elsewhere, so please anybody point me in the right direction ;o)
I wan't to create an Edit Control ind my extension (Standard Windows API Edit Control) and then
give it that Windows XP Cue Banner Text (gray text, which goes away when clicking in the edit field,
like "cilck here to search" or something.
The Macro / Message takes an Unicode String, so i tried for now, to hardcode the string in form of
"L"Hello Edit"", but somehow that doesn't seem to work....
I'll paste my function here, so you can have a look at it. Any comments would be great...
//FIXXME: Doesn't work!! :o|
ZEND_METHOD(xEdit, setCueText)
{
//Internal Structure containing some Infos about the Handle
XHANDLE * pHandle;
//Retrieve the handle from an Object Property
X_GET_HANDLE_SAVE(pHandle);
//At this point something has to go wrong.... it just doesn't do it
RETURN_BOOL(Edit_SetCueBannerText(X_HANDLE_P(pHandle), L"Hello Edit"));
}
Thanks in Advance, Markus