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 8,939 of 10,840   
   J French to Steve   
   Re: getnextwindow help   
   02 Nov 04 11:28:59   
   
   From: erewhon@nowhere.uk   
      
   On Mon, 1 Nov 2004 11:41:23 -0600, "Steve"  wrote:   
      
   >i just posed asking about getnextwindow...i was able to find it but have   
   >another problem   
   >   
   >pwin = GetWinByClass(Text2.Text)   
   >bwin = FindWindowEx(pwin, ByVal 0&, Text5.Text, Text7.Text)   
   >nwin = GetNextWindow(bwin, GW_HWNDNEXT)   
   >Text6.Text = nwin   
   >errors with overflow   
      
   Text6.Text = Str$(  nwin  )   
      
   Text6.Text is a String   
   - or possibly a Variant containing a String   
      
   nwin is a number - it should be a Long   
      
   >   
   >text2.text = parent window   
   >text5.text = window (text box) im looking for   
   >text7.text = text in box (nothing)   
   >   
   >ive made a little program to return #'s of what it finds just to make sure   
   >its finding stuff...its prolly something little and stupid, plz help   
   >   
   >   
      
   --- 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