Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - [SOLVED] Taskdialog with two Monitor's issue
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[SOLVED] Taskdialog with two Monitor's issue

 Post Reply Post Reply
Author
Message
dadoom View Drop Down
Newbie
Newbie


Joined: 31 August 2010
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote dadoom Quote  Post ReplyReply Direct Link To This Post Topic: [SOLVED] Taskdialog with two Monitor's issue
    Posted: 11 February 2011 at 7:00am
Hello, i have a problem using the taskdialog and two monitors.
At work I'm haveing a winXP Sp3 and vb6 sp6 and those two Monitors on a GeForce 9600GT

I have two taskdialogs in my projekt one of them looks good the other one appears in the center of Both screens (also on pc's that not have those two monitors) and even if i disable the 2th monitor in the viewproberty of winXP the 'error' still occur.
 
Its the same on my home PC (Win7, vb6 sp6 and never head two monitors).
I allready deleted the taskdialog with the problem from the from and copied the working one from the other form but it's stell the same


Code of the non working
With TaskDialog
       
        .Reset
       
        .MessageBoxStyle = True
        .WindowTitle = "Übersicht"
        .MainInstructionText = "Kunde unwiderruflich löschen?"
        .MainIcon = xtpTaskIconWarning
       
        .ContentText = "..."

        .ExpandedInformationText = "..."
        .CollapsedControlText = "Was wird gelöscht?"
        .ExpandedControlText = "Was wird gelöscht - ausblenden"
       
        .FooterText = "..."
        .FooterIcon = xtpTaskIconInformation
       
        .DialogWidth = 200
       
        .AddButton "Ja", 101
        .AddButton "Nein", 102
        .DefaultButton = 102
       
        .ShowDialog
   
End With



Code of the non working
With TaskDialog
       
        .Reset
       
        .MessageBoxStyle = True
        .WindowTitle = "..."
        .MainInstructionText = "... unwiderruflich löschen?"
        .MainIcon = xtpTaskIconWarning
       
        .ContentText = "..."
     
        .FooterText = "..."
        .FooterIcon = xtpTaskIconInformation
       
        .DialogWidth = 200
       
        .AddButton "Ja", 101
        .AddButton "Nein", 102
        .DefaultButton = 102
       
        .ShowDialog
   
    End With

is there any way to get this right?
Back to Top
mimue View Drop Down
Newbie
Newbie


Joined: 22 September 2008
Location: Germany
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote mimue Quote  Post ReplyReply Direct Link To This Post Posted: 16 February 2011 at 5:29am
Did you tried to set the properties ParentHwnd and RelativePositionof the task dialog? This should work.
Product: Xtreme SuitePro (ActiveX) version 15.0.1
Platform: Windows 7 (x64)
Language: Visual Basic 6.0
Back to Top
dadoom View Drop Down
Newbie
Newbie


Joined: 31 August 2010
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote dadoom Quote  Post ReplyReply Direct Link To This Post Posted: 24 February 2011 at 2:02am
.ParentHWND works fine! Thank you Big smile
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.203 seconds.