tuna
Joined: 03 Oct 2007 Posts: 47 Location: Bristol, England
|
Posted: Fri Nov 30, 2007 7:29 pm Post subject: SB_SETTEXT() problem |
|
|
Hi
I can't seem to get sb_settext to work within functions (since I'm going to make many text and icon changes I wanted to simplify the procedure):
| Code: | sys$status(fnl$txt = "", fnl$ico = -1, fnl$icoPath = "")
{
if fnl$ico != -1
{
if !fnl$icoPath
fnl$icoPath = Shell32.dll
SB_SetIcon(fnl$icoPath, fnl$ico)
}
return SB_SetText(fnl$txt, 2)
} |
Any suggestions anyone?
Many thanks |
|