Now that's strange. This code makes a normal button:
Code: Select all
#About = 0
#AboutH = 200
#AboutW = 200
#OX = 10
#OY = 10
#BtnH = 25
#BtnW = 97
#AboutOkay = 0
AboutWindow=OpenWindow(#About,0,0,#AboutW,#AboutH,#PB_Window_ScreenCentered|#PB_Window_Invisible,"About")
If CreateGadgetList(AboutWindow)
ButtonGadget(#AboutOkay,#OX,#AboutH-#OY-#BtnH,#BtnW,#BtnH,"Okay")
EndIf
HideWindow(0, 0)
Repeat
WaitWindowEvent()
ForEver
Windows XP Home Norwegian.
XP theme turned off.
No skinning applications like WindowsBlinds have ever been installed.
Resolution 1024x768 32-bit.
Hmm, I see that the okay button in your program uses a different font (size) than the normal button in the example above. There's got to be something in your code that you've forgotten about!
