Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    Visual Basic




Enumerate Child Windows


is there a way to enumerate child windows in VBA. I have a method to do it in VB6 but it appears that VBA (Access) does not support the AddressOf operator. I have a login window for a program and have to search for the text entry boxes. They are not in sequential order and both have edit for the class




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
Enumerate IE Windows?
There was some code posted here earlier about how to grab a list of all ie windows open, and be able to interact with them as a webbrowser control.

anyone know how to do this?

Enumerate Windows
hi, how do i enumerate all current opened windows hwnds?

Enumerate Owned Windows
is there a direct way to do that?

the best thing I can think of is using EnumThreadWindows and checking the owner of each window...

ENUMERATE All Open Windows
can i do that have a list of ALL open windows.. NOT PROCESSES though... windows and the captions/names of the open windows? and be able to determine which one is on top.. and the z-position of the other wndows? and then rearrange the order?

im pretty sure it would use sendwindowmessage?

but i can't seem to code it in... i don't know where to start

anyone has samples? THANKS



Edited by - Loisita on 5/5/2006 1:03:14 AM

Windows XP Enumerate Net Resources
Any one figure out how to Enumerate network resources under WIndows XP? WIN98/ME versions do not work real well.
Thanks in advance.

'
'
Please rate it if it answers the question
or is useful.
'
John G

Enumerate Network Resources In Windows XP
Hi All!

Does anyone know how to read and list all the PC's on a WindowsXP network?

Enumerate All The Internet Explorer Windows
I just want something which will look thru all the open IE windows and get the URL and if possible the Document object from it.

I have searched everywhere to do this and the closest I have come is a script which has to open a IE window its self to hook in to it.

Can anyone help?

NickStallman.net

Take Already Existing Windows And Making Them Child Windows.
Basically what i want to do is take the AIM, Yahoo, MSN Messenger and make them child windows in 1 big window, I am gettin annoyed at the whole running 3 different windows at the same time, it would be nice to condence them.

Anyone know a simple way to do this. I figure VB would be the easiet option, I know how to get the handle.

I dont want to use Trillian, I dont like the interface too graphicy. and each program has its advantages which trillian will never be able to adapt too.. plus AOL is tryin to prevent trillians users..

Windows Q: Max Nested Child Windows
Hi all,

I am writing a flexible user interface.
Its a container that will load VB forms as child windows dynamically.
The container app can also load itself (its own form) as a child.
That way it can create a treeview-like dataentry form.
This works fine.

During testing I discovered that If I nest the container 12 times things go wrong.
Child windows are do not show as child, but outside the container window.

Note that the number of nested windows / controls is 4 times 12:
container level1 ==> Scroller Usercontrol ==> picturebox ==> SubForm Usercontrol ==> container level2
so child windows are nested 48 levels deep.

Is there a maximum number of windows that can be nested?

Get Child Windows
This is the strangest thing.
No matter what I do or what pre-written code examples I try, I can not get my program to get the child window of Internet Explorer.

I've tried using the example written here: http://www.xtremevbtalk.com/show...t+child+window

but it doesn't store the child windows of the browser.

I've tried the following simple code:
hwnd = FindWindow(vbNullString, "Google - Microsoft Internet Explorer")
child_hwnd = GetWindow(hwnd, GW_CHILD)

AND...
child_hwnd = GetWindow(hwnd, GW_HWNDNEXT)

and it absolutely will NOT get the hwnd of the child window.
If I do FindWindowEx and specify the name of the child window, such as:

child_hwnd = FindWindowEx(hwnd, 0&, "WorkerW", vbNullString)

then it will find that child window, but I can not get the program to find that first child window on its own.

I've figured out enough of this now to know that I have to write a recursive loop that will check through every child form under the IE window to find the "Edit" control so I can copy the URL from it. However, I can't do that until I can get VB to read the next child window.

What am I missing here? Help!

MDI Child Windows Using API
I want to create MDI child windows in runtime. I know how to do regular windows with API, but I couldn't find a sample on how to do child windows for an existing MDI form. Am I forced to create the MDI window with API as well? In either case it would help if there is a VB6 example available somewhere.

As background information, I'm placing two Scintilla text controls onto a form and I wanted to prevent subclassing and do straight WndProc handling (Scintilla sends all it's messages to WndProc). Of course the downside is that the program will have problems if I have to stop it in IDE, but there is always a price to pay when you want to do things more lightweight.

MDI Child Windows Always On Top
Hi All,

I am writing an MDI app which has a window used for setting properties. I want this window to either be always on top or better still, docked in the lower right corner (like the VB IDE properties window)... I tried the always on top method found fomr

Microsoft KB

This doesn't work.... It *may* be coz im using MDI (not sure).... If anyone knows how to dock this form , or make an MDI child be the topmost window, i'd love to hear about it...

thanks, me...

MDI Child Windows
I have a program that reads a text file and displays sections of the text file in
MDI child windows. The text file is sectioned by Name headers. I can split the text file
and show the different sections in different windows just fine. When I do this I also
put the name of each section (window) in a Combo box. What I would like to do is when the user
clicks on a name in the combo box I want the
window of the same name to become active and come to the top of the Z-order so it can be seen.
Does anyone have an Idea on this?
I do know the Hwnd of each window but I have tried different API's to do this but it doesn't work.

Docking Child Windows
Anyone know how i can get child windows in an MDI form to dock when moved near the side? Kind of like the Project explorer window in VB (Actually, exactly like that )

Closing Down Child Windows
I have a standard VB MDI application that is a GUI for a database. I have added a feature where you can logout of a database and login to another, which is fine, but i want to close all of the child windows when a user logs out.

How is this done?

<P ID="edit"><FONT class="small"><EM>Edited by KidMoe on 08/22/01 08:26 AM.</EM></FONT></P>

Child Windows On Top In MDI Form
How can i have one child window always in front of the other, also when the other is active, i tried setwindowpos but it didn't work?

Thanks in advance

Resize Child Windows
When opening a child window in a picturebox the child window doesnt react on formsize!

Anybody has experience with that fenomen or how do I solve that?

This is the code to open the frmKalender into the picturebox:

Private Sub mnuKalender_Click()
SetParent frmKalender.hwnd, frmNotities.pboLeft.hwnd
Call SetWindowLong(frmNotities.hwnd, GWL_STYLE, GetWindowLong(frmNotities.hwnd, GWL_STYLE) Or WS_CHILD)
SendMessage frmNotities.hwnd, WS_CHILD, 0, 0
apiError = SendMessage(frmNotities.hwnd, WM_CHILD, 0, 0)

frmKalender.Show
frmKalender.Move 0, 0
End Sub

THanks in advance,

Listing All Child Windows
Anyone know how to find ALL child windows for a parent, opposed to just the first child?

Dockable Child Windows?
I have a MDI form, with one child form. When the child form is maximized it doesnt go how i want it to. For example, this screen shot shows how i want to be if its maximized:

Loaded Child Windows
hi All;
How could I know the child windows loaded from the parent MDI window or within the childs themselves. If there is a modal normal window could I know too if it is loaded or not?
Thanks

MDI Form No Child Windows
How do I make out the state when there are no MDIChild windows open inside my main MDI form?

SysListView32 Child Windows
Hi guys,

Please what is wrong with this piece of code as I cannot pick up the handle for the SysListView32 object in an IEFrame window. I used Spy ++ and belive the dependancies are correct.

Help please.

Thanks.

Mike


Do
hWnd_MD = FindWindowEx(0, 0, "IEFrame", vbNullString)
If hWnd_MD <> 0 Then
'hWnd_ListView = FindWindowEx(FindWindowEx(hWnd_MD, 0, "SHELLDLL_DefView", _
'vbNullString), 0, "SysListView32", vbNullString)
hWnd_ListView = FindWindowEx(FindWindowEx(FindWindowEx(FindWindowEx(happ, ByVal 0&, _
"SHELLDLL_DefView", vbNullString), ByVal 0&, "Internet Explorer_Server", vbNullString), _
ByVal 0&, "ATL Shell Embedding", vbNullString), ByVal 0&, "SysListView32", vbNullString)
Debug.Print "RRT " & hWnd_ListView
If hWnd_ListView <> 0 Then
PostMessage hWnd_MD, WM_CLOSE, 0, 0
Else
Exit Do
End If
Else
Exit Do
End If
Loop

HWnd Of Child Windows
Does anyone know how to get the handle of a child window, not a window that I own either.

I am hoping to be able to get other peoples child windows hWnds.

Thanks in advance

MDI Child Tool Windows
Ok, here's a somewhat complicated problem that I've come across. My program is somewhat like a form designer... The form that will get designed on is an MDI Child as well as the the Toolbox and Properties windows that I also have on there. The reason they are child windows is to ensure the windows stay in the parent when the app is minimized... But what I need to do is to keep both the Toolbox and Properties windows on top of the designer form. The designer form must still have focus as well. What is happening right now is that sometimes when the designer form has focus it can totally hide the properties or toolbox windows and I can't get them back. I know that there is the SetWindowPos API, but that doesn't seem to work for the MDI child windows. And ideas would be appreciated.

Thanks in advance...

PSX

Number Of Child Windows
I want a fuction that returns
the number of child windows of
a window (given the handle of it)
I know one needs to use
enumChildWindows, but
I have difficulty to get the
function I want.
Please help me if you know how to
Thanks lot.

Finding Child Windows
Dear All,

How do I go about looping through all the child windows in NetWare Admin to get to the organizational unit window? I'm new to VB and any help will be greatly appreciated.

TIA

Rita

Parent/Child Windows... Focus
Hi there!...
I was trying to do a program with different data entry modules that are loaded on demand. To do that I want to use different forms (without any border, as if they are part of the main form) and showing them as needed. I either can do that with the Form.Show vbModeless, Me or with the API function SetParent. The thing is that when the child form is loaded, the parent form looses focus and changes it's colors to the Background Window ones. Is there any chance of avoiding this and having both forms as if they were focused???

Thanx in advance!

JP

Accessing Web Browser Child Windows
I have a form with browser control on it and some of the links in it open a new window. How can do I access the document object of this new window? I can use firstchild but that gives me a nod, not the document.

Thanks!

Setting Focus To Child Windows Using API's
I have created a visual basic program with text boxes which is inside the picture box, and I have compiled the program to an exe file. Now I have to send the focus to the text boxes which is inside the picture box from my visual basic program.

Controlling Another App With Lots Of Child Windows
i apologise if this is too simple to ask here but its driving me mental.
i am trying to control another application using sendkeys, the software is a pig and loads umpteen different windows after each action. basically i need to know how to return a handle to a (and i think this is the right terminology) child window of the main app using a partial match on the title (it changes depending on exactly which product you aere viewing in the window thats loaded).
can anyone offer any help on this at all, i have tried using the FindWindowEx function but either i am using it incorrectly or it doesnt do what i want it to.

if ive left anything obvious that you need to know please let me know.

many thanks

Problem Using StretchBlt On Child Windows
I am having trouble using StretchBlt on child windows of an mdiform when calling the api from an external module of the same app.

Altering OTHER Processes' Child Windows
Hey guys.

I'm trying to create a program that will manage the child window of another program (not a VB program, and not a program that I made). This window doesn't come with any controls for manipulating it by default, but what I want to do is make my program able to change its width, height, whether it's maximized or minimized, close it, etc...

Could someone please explain how to do this? I would really appreciate it! Thanks!

Closing External MDI Child Windows
hi all how would i go about closing External MDI Child windows i use the following code to close the window but it doesnt work for some windows if is a child window

VB Code:
Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" ( _                ByVal lpClassName As String, _                ByVal lpWindowName As String) As Long                Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" ( _                ByVal hwnd As Long, _                ByVal wMsg As Long, _                ByVal wParam As Long, _                ByVal lParam As Long) As Long Private Const WM_CLOSE As Long = &H10 Dim lhWnd As Long

to close the window

VB Code:
lhWnd = FindWindow("#32770", "Window Title")If lhWnd Then SendMessage lhWnd, WM_CLOSE, 0&, 0&

Is There A Way To Put Child Windows In Our Program Window?
hi i was wondering if it was possible to steal a programs butto or text box and put it in our program? If you give me an answer to this ill be surprised lol and ill thank you A lot!

Redrawing Desktop && All(Child) Windows
I'm trying to draw some graphics on the desktop, but have found that the title bar
on-client area of most windows remains "stamped" with the graphics when the window is moved. In addition, I just realized that I don't know how to clear the destop of the picture.

Thanx in advance.

Check For Active Mdi Child Windows First
Hi everyone,

I am just starting to learn visual basic and im working on a project at the moment to help me.

Anyway I have a MDI form with several child windows which will be opened from my menu.
When the user clicks a menu option I need it to check if there are any MDI child windows already open before opening a specificified child window. If there are windows already open these need to be closed.

Can anybody help me out with the code to do this ??

Multiple/Child Windows In VB2005
I'm trying to work with windows instances and cannot figure it out.

I am trying to create a messenger client where the users use there own individual chat windows (as appose to irc style chat).

But I don't know how to name or call these windows.

Any help is appreciated

Printing W/ Resize && Child Windows
Greetings,
I have a program that pasicly needs to print a picture with some label controls on top of the piture.
i have used the code on this page: http://www.andreavb.com/tip070013.html
But when i do it just prints the top left of the page but it prints with the labels on it
The picture is 8.5 X 11 inches (for invoices)
my code looks like this:
Code: Option Explicit
Private Declare Function SendMessage Lib "user32.dll" Alias _
   "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, _
   ByVal wParam As Long, ByVal lParam As Long) As Long

Private Const WM_PAINT = &HF
Private Const WM_PRINT = &H317
Private Const PRF_CLIENT = &H4& ' Draw the window's client area
Private Const PRF_CHILDREN = &H10& ' Draw all visible child
Private Const PRF_OWNED = &H20& ' Draw all owned windows

      Private Sub Form_Load()
         CommonDialog1.CancelError = True
         Command1.Caption = "Load Picture"
         Command2.Caption = "Print Preview"
         Command3.Caption = "Print"
      End Sub

      Private Sub Command1_Click()
         Dim sFileFilter As String

         On Error GoTo ErrHandler

         sFileFilter = "Bitmap Files (*.bmp)/*.bmp/"
         sFileFilter = sFileFilter & "GIF Files (*.gif)/*.gif/"
         sFileFilter = sFileFilter & "Icon Files (*.ico)/*.ico/"
         sFileFilter = sFileFilter & "JPEG Files (*.jpg)/*.jpg/"
         sFileFilter = sFileFilter & "Windows MetaFiles (*.wmf)/.wmf"
         With CommonDialog1
            .Filter = sFileFilter
            .ShowOpen
            If .FileName <> " " Then
               Picture2.Picture = LoadPicture(.FileName)
            End If
         End With

ErrHandler:
            Exit Sub
      End Sub

      Private Sub Command2_Click()
         Dim dRatio As Double
         dRatio = ScalePicPreviewToPrinterInches(Picture1)
         PrintRoutine Picture1, dRatio
      End Sub

      Private Sub Command3_Click()
         Printer.ScaleMode = vbInches
         PrintRoutine Printer
         Printer.EndDoc
      End Sub

      Private Function ScalePicPreviewToPrinterInches _
         (picPreview As PictureBox) As Double

         Dim Ratio As Double ' Ratio between Printer and Picture
         Dim LRGap As Double, TBGap As Double
         Dim HeightRatio As Double, WidthRatio As Double
         Dim PgWidth As Double, PgHeight As Double
         Dim smtemp As Long

         ' Get the physical page size in Inches:
         PgWidth = Printer.Width / 1440
         PgHeight = Printer.Height / 1440

         ' Find the size of the non-printable area on the printer to
         ' use to offset coordinates. These formulas assume the
         ' printable area is centered on the page:
         smtemp = Printer.ScaleMode
         Printer.ScaleMode = vbInches
         LRGap = (PgWidth - Printer.ScaleWidth) / 2
         TBGap = (PgHeight - Printer.ScaleHeight) / 2
         Printer.ScaleMode = smtemp

         ' Scale PictureBox to Printer's printable area in Inches:
         picPreview.ScaleMode = vbInches

         ' Compare the height and with ratios to determine the
         ' Ratio to use and how to size the picture box:
         HeightRatio = picPreview.ScaleHeight / PgHeight
         WidthRatio = picPreview.ScaleWidth / PgWidth

         If HeightRatio < WidthRatio Then
            Ratio = HeightRatio
            smtemp = picPreview.Container.ScaleMode
            picPreview.Container.ScaleMode = vbInches
            picPreview.Width = PgWidth * Ratio
            picPreview.Container.ScaleMode = smtemp
         Else
            Ratio = WidthRatio
            smtemp = picPreview.Container.ScaleMode
            picPreview.Container.ScaleMode = vbInches
            picPreview.Height = PgHeight * Ratio
            picPreview.Container.ScaleMode = smtemp
         End If

         ' Set default properties of picture box to match printer
         ' There are many that you could add here:
         picPreview.Scale (0, 0)-(PgWidth, PgHeight)
         picPreview.Font.Name = Printer.Font.Name
         picPreview.FontSize = Printer.FontSize * Ratio
         picPreview.ForeColor = Printer.ForeColor
         picPreview.Cls

         ScalePicPreviewToPrinterInches = Ratio
      End Function

      Private Sub PrintRoutine(objPrint As Object, _
                               Optional Ratio As Double = 1)
    Dim rv As Long
    Dim ar As Boolean
         ' All dimensions in inches:
        With Picture2
         'Save ReDraw value
        ar = .AutoRedraw
  
        'Set persistance
        .AutoRedraw = True
        
        'Draw controls to picture box
        rv = SendMessage(.hwnd, WM_PAINT, .hDC, 0)
        rv = SendMessage(.hwnd, WM_PRINT, .hDC, _
            PRF_CHILDREN Or PRF_CLIENT Or PRF_OWNED)
    
        'Refresh image to picture property
        .Picture = .Image
    
        'Copy picture to Printer
         objPrint.PaintPicture .Picture, 0, 0, 8, 11.5
    
        'Restore backcolor (Re-load picture if picture was used)
        Picture2.Line (0, 0)-(.ScaleWidth, .ScaleHeight), .BackColor, BF
    
        'Restore ReDraw
        .AutoRedraw = ar
        
        End With

      End Sub


    icon printing w/ resize & child windows

Greetings,
I have a program that pasicly needs to print a picture with some label controls on top of the piture.
i have used the code on this page: http://www.andreavb.com/tip070013.html
But when i do it just prints the top left of the page but it prints with the labels on it
The picture is 8.5 X 11 inches (for invoices)
my code looks like this:
Option Explicit
Private Declare Function SendMessage Lib "user32.dll" Alias _
   "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, _
   ByVal wParam As Long, ByVal lParam As Long) As Long

Private Const WM_PAINT = &HF
Private Const WM_PRINT = &H317
Private Const PRF_CLIENT = &H4& ' Draw the window's client area
Private Const PRF_CHILDREN = &H10& ' Draw all visible child
Private Const PRF_OWNED = &H20& ' Draw all owned windows

      Private Sub Form_Load()
         CommonDialog1.CancelError = True
         Command1.Caption = "Load Picture"
         Command2.Caption = "Print Preview"
         Command3.Caption = "Print"
      End Sub

      Private Sub Command1_Click()
         Dim sFileFilter As String

         On Error GoTo ErrHandler

         sFileFilter = "Bitmap Files (*.bmp)/*.bmp/"
         sFileFilter = sFileFilter & "GIF Files (*.gif)/*.gif/"
         sFileFilter = sFileFilter & "Icon Files (*.ico)/*.ico/"
         sFileFilter = sFileFilter & "JPEG Files (*.jpg)/*.jpg/"
         sFileFilter = sFileFilter & "Windows MetaFiles (*.wmf)/.wmf"
         With CommonDialog1
            .Filter = sFileFilter
            .ShowOpen
            If .FileName <> " " Then
               Picture2.Picture = LoadPicture(.FileName)
            End If
         End With

ErrHandler:
            Exit Sub
      End Sub

      Private Sub Command2_Click()
         Dim dRatio As Double
         dRatio = ScalePicPreviewToPrinterInches(Picture1)
         PrintRoutine Picture1, dRatio
      End Sub

      Private Sub Command3_Click()
         Printer.ScaleMode = vbInches
         PrintRoutine Printer
         Printer.EndDoc
      End Sub

      Private Function ScalePicPreviewToPrinterInches _
         (picPreview As PictureBox) As Double

         Dim Ratio As Double ' Ratio between Printer and Picture
         Dim LRGap As Double, TBGap As Double
         Dim HeightRatio As Double, WidthRatio As Double
         Dim PgWidth As Double, PgHeight As Double
         Dim smtemp As Long

         ' Get the physical page size in Inches:
         PgWidth = Printer.Width / 1440
         PgHeight = Printer.Height / 1440

         ' Find the size of the non-printable area on the printer to
         ' use to offset coordinates. These formulas assume the
         ' printable area is centered on the page:
         smtemp = Printer.ScaleMode
         Printer.ScaleMode = vbInches
         LRGap = (PgWidth - Printer.ScaleWidth) / 2
         TBGap = (PgHeight - Printer.ScaleHeight) / 2
         Printer.ScaleMode = smtemp

         ' Scale PictureBox to Printer's printable area in Inches:
         picPreview.ScaleMode = vbInches

         ' Compare the height and with ratios to determine the
         ' Ratio to use and how to size the picture box:
         HeightRatio = picPreview.ScaleHeight / PgHeight
         WidthRatio = picPreview.ScaleWidth / PgWidth

         If HeightRatio < WidthRatio Then
            Ratio = HeightRatio
            smtemp = picPreview.Container.ScaleMode
            picPreview.Container.ScaleMode = vbInches
            picPreview.Width = PgWidth * Ratio
            picPreview.Container.ScaleMode = smtemp
         Else
            Ratio = WidthRatio
            smtemp = picPreview.Container.ScaleMode
            picPreview.Container.ScaleMode = vbInches
            picPreview.Height = PgHeight * Ratio
            picPreview.Container.ScaleMode = smtemp
         End If

         ' Set default properties of picture box to match printer
         ' There are many that you could add here:
         picPreview.Scale (0, 0)-(PgWidth, PgHeight)
         picPreview.Font.Name = Printer.Font.Name
         picPreview.FontSize = Printer.FontSize * Ratio
         picPreview.ForeColor = Printer.ForeColor
         picPreview.Cls

         ScalePicPreviewToPrinterInches = Ratio
      End Function

      Private Sub PrintRoutine(objPrint As Object, _
                               Optional Ratio As Double = 1)
    Dim rv As Long
    Dim ar As Boolean
         ' All dimensions in inches:
        With Picture2
         'Save ReDraw value
        ar = .AutoRedraw
  
        'Set persistance
        .AutoRedraw = True
        
        'Draw controls to picture box
        rv = SendMessage(.hwnd, WM_PAINT, .hDC, 0)
        rv = SendMessage(.hwnd, WM_PRINT, .hDC, _
            PRF_CHILDREN Or PRF_CLIENT Or PRF_OWNED)
    
        'Refresh image to picture property
        .Picture = .Image
    
        'Copy picture to Printer
         objPrint.PaintPicture .Picture, 0, 0, 8, 11.5
    
        'Restore backcolor (Re-load picture if picture was used)
        Picture2.Line (0, 0)-(.ScaleWidth, .ScaleHeight), .BackColor, BF
    
        'Restore ReDraw
        .AutoRedraw = ar
        
        End With

      End Sub


Thanks for any and all help!

Tracking/Passing To Child Windows
Hi,

I've read all the topics I could find on MDI child windows but still can't figure out how to keep track of the children. Here's what I've been trying...

Create an instance of a child form (using Dim fChild as New frmChild, fChild.Show, etc)
Try to call a property or method of the new form from the MDI form ("fChild.height = 500" or "Unload fChild")

This doesn't seem to work. What is the best way to pass properties to my child forms, especially if there are several instances present?

Thanks

Joe

Setting Focus To Child Windows Using Api's
I have create a visual basic program with text boxes which is inside the picture box and then I have compiled to an exe file. Now I have to send the focus to the text box which is inside the visual basic exe file from another visual basic program. I found the handle of the exe window but I am not able to send the focus to the text box. please help me I am in critical situation.

Strange Bug With Mdi Child Tool Windows
I'm using VB6 latest service pack (i think) sp5.

The bug happens when you create a MDI form and then define a fixed tool window as MDI child. You will notice that there is a thin line at the top of the client area of the child form about 4 pixel wide.

It looks like this part of the client area doesn't get painted correctly.

If you instead use a sizeable tool window, the bug doesn't happen...

Also, it doesn't appear when on winXP using the new windows look. In classic mode it appears...

Does anyone know how to get rid of that nasty visual bug?

Dragging MDI Child Windows, Dotted Outline Box.
Hello,

In Adobe Photoshop 6 and up, when you move the MDI windows, or rather any windows in the MDI area, a nice dotted outline of the window appears. Instead of moving the whole window, the dotted area is what you move. When you release the left click button, the MDI child window moves to its new place. I tried doing this, but noticed that because shapes are low bound controls, they go underneath others. Is there a way around making something like what Adobe Photoshop uses?

Little Bit Out Of Context... But So Boring... {minimizing MDI Child Windows}
Hi there,
Sorry to disturb you all in so serious things, but I've received so much help from here that you are my last 'chance'...
Look at the image attached, you will understand... In all my Microsoft apps (excel, vb, sql server mmc, word...), when i minimize a window, it becomes so narrow that you cannot read anymore the name of the spreadsheet or doc... Further more, it is nearly impossible to obtain the context menu to maximize or close and so on....
I know it's a trick in an application I've downloaded for a demo of an ocx... but i can't just remember the name of it...
Do you know how to change this ? in the reg ?... please, if you know, just tell me

Problem Tiling Child Windows In MDI Form
OK guys, this should be simple but I can't get it to work right. I have a full screen parent form with three child forms, these forms are 9000 wide x 7000 high and so two will fit side by side in the top half of the parent and one will fit in the bottom half. None of the forms overlap when positioned manually.

I'm using


VB Code:
frmMain.Arrange vbTileHorizontal


but this just resizes the forms to fit above each other and stretches them across the screen, using Vertical does the same vertically ( of course! )

I want them laid out as a form in each quarter of the parent with the last quarter empty, bottom right preferably.

I want them as fixed single too, the above scenario was with the forms set sizable, setting fixed single makes them overlap each other

Can anyone give me a clue please.

Thanks guys

How To Disable The Close Button Of A MDI Child Windows?
I have a windows, which mustn't be closed by the user, in a MDI program.
Closing it will result data loss..

So how can I disable or hide its 'close' button?

Getting Child Windows Of Eyebeam Record Button - Help Me
hi all

i am unable to get child window "record" button of eyebeam appliction.

eyebeam is a sip base soft phone.

Eyebeam Record Problem With Get Child Windows
hi

i have a problem with eyebeam. eyebeam is sip based audio soft phone.
i want to get handle of record button of the eyebeam form.
when i tried to get the child windows it is showing 0 child window.


please if you code to get tha hwnd of this child window

please send me my mail

purnachender@photontelecoms.com

Obtain Handle For A Particular Window & All Its Child Windows
Is it possible to obtain all the handles of ' my documents' window ? I mean as in obtaining all the handles of all its child windows . This is the crucial reason why my code got problems .

Closing Child Windows When Main Window Closed
Hello, is there a way to close the child windows (IE) when the main window gets closed? I tried to look for child windows, but not working. Can anyone help?

Copyright 2005-08 www.BigResource.com, All rights reserved