Stringgadet without blinking cursor [Windows]

Share your advanced PureBasic knowledge/code with the community.
CNESM
User
User
Posts: 54
Joined: Sat Jun 21, 2003 11:15 pm
Contact:

Stringgadet without blinking cursor [Windows]

Post by CNESM »

Code: Select all

OpenWindow(0,0,0,300,100,"Stringgadet without blinking cursor",#PB_Window_SystemMenu|#PB_Window_ScreenCentered) 

StringGadget(0,20,20,260,20,"...") 

Repeat 
  Event=WaitWindowEvent() 
  If Event=#PB_Event_Gadget 
    If EventGadget()=0 
      HideCaret_(GadgetID(0)) 
    EndIf 
  EndIf 
Until Event=#PB_Event_CloseWindow