Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

 
 
Thread Tools Display Modes
Prev Previous Post in Thread   Next Post in Thread Next
Old Oct 31st, 2005, 11:34 AM   #11
bigguy
Professional Programmer
 
bigguy's Avatar
 
Join Date: Sep 2005
Location: Arkansas
Posts: 298
Rep Power: 0 bigguy is an unknown quantity at this point
Send a message via AIM to bigguy Send a message via MSN to bigguy Send a message via Yahoo to bigguy
Hey Ya'll got another question. I'm gonna use the API stuff for this also, and this is what I have so far. IE would be the parent window, right. then the Downlaod Window asking whther I save or Open it would be the Child Window, correct. Well Thats what I dont know how to do. I have this


This is in the Module:

Public Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long


Public Function Find_DownloadWindow() As Long
Find_DownloadWindow = FindWindow("#32700(Dialog)", vbNullString)
End Function

and this is in Form_Load:

Private Sub Form_Load()
Dim lIEFrame As Long
If lIEFrame = FindWindow("#32770(Dialog)", vbNullString) Then
Form2.Show
End If
End Sub


Now hwnd is used for Parent Window right, so if that is used for parent windows what used to find out if their is a child window present in the Parent Window?
__________________
Forgiveness is the fragrance that the violet sheds on the heal that has crushed it. - Mark Twain

Destruction leads to a very rough road, but it also breeds creation.
bigguy is offline   Reply With Quote
 

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 8:11 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC