Alias
Alias
 
Parameters: NONE
Returns: NONE
 

      Alias is keyword. It's used to declare what DLL function is used during DLL Binding.



FACTS:


      * See LinkDLL for more information




Mini Tutorial:


      Here's an example that uses LinkDll to declare customer function to hide/show the windows mouse pointer.

  
  LinkDll "user32.dll"
     HideMouse(State) Alias "ShowCursor"
  EndLinkDll
  
  Do
     Cls RGB(0,0,0)
     Print "Press Mouse Buttons to hide/show mouse"
     
     If MouseButton()=1 Then  HideMouse off
     If MouseButton()=2 Then  HideMouse on
     
     Sync
  Loop
  
  



 
Related Info: CallDll | EndLinkDll | LinkDll | LoadDLL :
 


(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com