[SOLVED] Taskdialog with two Monitor's issue |
Post Reply |
Author | |
dadoom
Newbie Joined: 31 August 2010 Status: Offline Points: 3 |
Post Options
Thanks(0)
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? |
|
mimue
Newbie Joined: 22 September 2008 Location: Germany Status: Offline Points: 3 |
Post Options
Thanks(0)
|
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 |
|
dadoom
Newbie Joined: 31 August 2010 Status: Offline Points: 3 |
Post Options
Thanks(0)
|
.ParentHWND works fine! Thank you
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |