|
help customizing GUI |
raja peter
Member #7,835
October 2006
|
hi, I just want to display a bgimg(bg), a button(but) and a cursor(cur) all bmp images. I just want to create alert when the button is clicked. I tried like this.
It compiles and runs. But It gives only a black screen and If i click on positions around (300,300) and (440,340), alerts are popping up. Help me to find What is wrong with the code. Am i in a wrong path. Is there any other way to do it. Thanks. luv, raja |
GullRaDriel
Member #3,861
September 2003
|
"Code is like shit - it only smells if it is not yours" |
raja peter
Member #7,835
October 2006
|
I want to display the bmp images on my screen and do the gui functionality. I set the dialog color. It doesn't display my bmp images. luv, raja |
spellcaster
Member #1,493
September 2001
|
Well, I'll tell you what you code does. You can then tell me if this is what you want First the dialog is called. No bitmaps will be shown here. Once you finish the dialog, you will enter the while loop displaying your bitmaps. If you quit the dialog using ESC you'll never run into the while loop and the program will just exit. Is this what you want? or do you want to display the bitmaps inside the dialog? If so, there is a bitmap proc to do this. -- |
raja peter
Member #7,835
October 2006
|
i need to dig more . Thanks spellcaster. luv, raja |
GullRaDriel
Member #3,861
September 2003
|
raja: first check that your bitmap are loaded. "Code is like shit - it only smells if it is not yours" |
raja peter
Member #7,835
October 2006
|
yes they've been loaded. I tested by commenting do_dialog. They are displayed. I've to try what spellcaster has mentioned. luv, raja |
|