hello,
Do anyone know the API-Constant for making a bigger border arround the imagegadget?
A border like "#PB_Frame3D_Double" . But for ImageGadget.
bigger border arround the imagegadget?
- Hroudtwolf
- Addict

- Posts: 803
- Joined: Sat Feb 12, 2005 3:35 am
- Location: Germany(Hessen)
- Contact:
-
localmotion34
- Enthusiast

- Posts: 665
- Joined: Fri Sep 12, 2003 10:40 pm
- Location: Tallahassee, Florida
ok here you go:
that gives you a nice big 3D border around the imagegadget.
Code: Select all
#WindowWidth = 450
#WindowHeight = 305
If OpenWindow(30, 100, 200, #WindowWidth, #WindowHeight, #PB_Window_SystemMenu | #PB_Window_MinimizeGadget, "PureBasic - Advanced Gadget Demonstration")
If CreateGadgetList(WindowID(30))
ImageGadget(0, 20, 5, 100, 100,0,#PB_Image_Border|#WS_EX_DLGMODALFRAME)
EndIf
Repeat
EventID = WaitWindowEvent()
If EventID = #PB_EventGadget
Select EventGadgetID()
EndSelect
EndIf
Until EventID = #PB_EventCloseWindow
EndIf
End
Code: Select all
!.WHILE status != dwPassedOut
! Invoke AllocateDrink, dwBeerAmount
!MOV Mug, Beer
!Invoke Drink, Mug, dwBeerAmount
!.endw
- Hroudtwolf
- Addict

- Posts: 803
- Joined: Sat Feb 12, 2005 3:35 am
- Location: Germany(Hessen)
- Contact: