home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.visual.basic      MS Visual Basic discussions, NOT dot-net      10,840 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 9,631 of 10,840   
   Carsten Troelsgaard to All   
   Re: Help file always in the foreground   
   27 Jul 05 23:32:37   
   
   From: carsten.troelsgaard@mail.dk   
      
   "Tim Freeman"  skrev i en meddelelse   
   news:DFAFe.63763$oJ.60903@news-server.bigpond.net.au...   
   > Hi,   
   >   
   > How do I get my compiled help file to go to the background when I click on   
   > my application window? If I click on another application it's fine, but   
   > with my app it just stays in front.   
   >   
   > Declaration for help as below.   
   >   
   > Thanks,   
   >   
   > Tim.   
   >   
   >   
   > Public Declare Function HtmlHelp Lib "HHCtrl.ocx" Alias "HtmlHelpA" _   
   >     (ByVal hWndCaller As Long, _   
   >      ByVal pszFile As String, _   
   >      ByVal uCommand As Long, _   
   >      dwData As Any) As Long   
   >   
   > Public Const HH_DISPLAY_TOPIC As Long = 0   
   > Public Const HH_HELP_CONTEXT As Long = &HF   
   >   
   > Private Sub apphelp_Click()   
   >   HtmlHelp hwnd, "apphelp.chm", HH_HELP_CONTEXT, ByVal 100&   
   > End Sub   
      
   I cann't comment on your code, but my default helpwindows in vba behaves   
   this rather annoying way (as far as I can tell), so maybe it isn't your code   
   that's wrong.   
      
   Carsten   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca