C2GUICOBOL
Programmer
Hello,
I am having difficulty getting a bitMap to remain displayed
on a tabControl. I have created a dialogBox with a memory
template by calling the win32 "DialogBoxIndirectParam", and
included a tabControl into the dialogBox with the function
"CreateWindowEx", and the preDefined system class
"SysTabControl32", then added a pushButton to the center of
the tabControl. Now, when I paint a bitMap on the
pushButton by calling the "StretchBlt" function, the bitMap
gets painted on the button for only one second, then it
will disappear from view.
if I remove the tabControl from the dialogBox, the bitMap
will remain painted on the pushButton --- So, I guess am
missing something here.
your help with this problem is appreciated. Thanks.
I am having difficulty getting a bitMap to remain displayed
on a tabControl. I have created a dialogBox with a memory
template by calling the win32 "DialogBoxIndirectParam", and
included a tabControl into the dialogBox with the function
"CreateWindowEx", and the preDefined system class
"SysTabControl32", then added a pushButton to the center of
the tabControl. Now, when I paint a bitMap on the
pushButton by calling the "StretchBlt" function, the bitMap
gets painted on the button for only one second, then it
will disappear from view.
if I remove the tabControl from the dialogBox, the bitMap
will remain painted on the pushButton --- So, I guess am
missing something here.
your help with this problem is appreciated. Thanks.