Guidance
指路人
g.yi.org
software / rapidq / examples / GUI / form / No taskbar icon.bas

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
'From: "midiprog2000" <midiprog2000 @ yahoo.com> Tue, 16 Jul 2002 20:02:15 -0000

'An application without an icon in the taskbar?  In that
'case, you have to use an api-call.  Here is an example:

     DECLARE FUNCTION SetWindowLong LIB "User32" ALIAS "SetWindowLongA" _
      (hWnd AS LONG, nIndex AS LONG, dwNewLong AS LONG) _
      AS LONG

     CREATE Form AS QFORM
      CAPTION = "No Task Icon"
      Center
     END CREATE

' 128 is the default desktop window
     SetWindowLong(Application.Handle, -8, 128)

     Form.SHOWMODAL
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Sat 2023-2-4  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0 Last modified:2013-06-19 07:48:22