emblem Posted June 29, 2009 Share Posted June 29, 2009 If you were to change the handle then yeah, but the you would have to put controls over the form which the backbuffer is drawn too. Which is a big no-no.Also, because I feel like it:Eclipse doesn't flip the backbuffer properly, it blit's it to the primary surface instead of flipping it. Link to comment Share on other sites More sharing options...
Homicidal Monkey Posted June 30, 2009 Share Posted June 30, 2009 @Zetta:> change> ```> Call DD.SetCooperativeLevel(frmMirage.hWnd, DDSCL_NORMAL)> > ```to> ```> call DD.SetCooperativeLevel(frmMirage.hWnd, DDSCL_EXCLUSIVE or DDSCL_FULLSCREEN)> call DD.SetDisplayMode(800, 600, 24)> > ```then disable the window menu bar for frmMirage.This works, I used this when I was working with KO. Link to comment Share on other sites More sharing options...
poke1103 Posted June 30, 2009 Author Share Posted June 30, 2009 > Call DD.SetCooperativeLevel(frmMirage.hWnd, DDSCL_NORMAL)Where do I actually change all this stuff at? Link to comment Share on other sites More sharing options...
Homicidal Monkey Posted June 30, 2009 Share Posted June 30, 2009 did you try using the tool "Find" started with "ctrl + f"?the command only exists in the module "modDirectX" Link to comment Share on other sites More sharing options...
poke1103 Posted June 30, 2009 Author Share Posted June 30, 2009 Ya I know but how do I disable the menubar for frmMirage? Link to comment Share on other sites More sharing options...
Homicidal Monkey Posted June 30, 2009 Share Posted June 30, 2009 open the form, its one of the properties in the display. Link to comment Share on other sites More sharing options...
poke1103 Posted June 30, 2009 Author Share Posted June 30, 2009 You mean the "ShowInTask bar thing?" Link to comment Share on other sites More sharing options...
Homicidal Monkey Posted June 30, 2009 Share Posted June 30, 2009 I dont knowIm on a linux. Link to comment Share on other sites More sharing options...
poke1103 Posted June 30, 2009 Author Share Posted June 30, 2009 Aww that sucks. =[ Link to comment Share on other sites More sharing options...
Kimimaru Posted June 30, 2009 Share Posted June 30, 2009 On frmMirage, go to the Properties on the right. Look for where it says "BorderStyle." It should currently be at "1-Fixed Single." Change it to "0-None." I suggest making a backup of your current frm.Mirage file before trying this. It should disable the window menu bar. Link to comment Share on other sites More sharing options...
Zawk Posted June 30, 2009 Share Posted June 30, 2009 ```Private Sub Form_Load()Move 0, 0, Screen.Width, Screen.HeightEnd Sub```for the form you are wanting fullscreen the above must be posted within that form….now for the form you posted above for you select in its options:```MaxButton = FalseWindowState = 2, MaximisedBorderStyle = 0, None```This will only make the window go fullscreen of whatever the users resolution is..however this will not stretch the screen to fit the fullscreen…tip:to stretch a picturebox to that of a fullscreen you would use something like```Image1.Move 0, 0, Picture1.ScaleWidth, Picture1.ScaleHeight ```It will take some work if you are wanting it all fullscreen… =\ just note though thta you would be required to add everything in to picture boxes if you want it to over lap you screen...(this is doing it w/o dx)DirectX is still the best way to do things such as this, make your card and your software render together is a good idea if you know what to render from your card and what to render on software...I'm sure there are others who could explain this further but this is the only thing I could come up with that isn't really using directXEdit;bleh, Monkey posted. Guess you dont need this info, anyways I'll leave it here.. Link to comment Share on other sites More sharing options...
mrmiguu Posted June 30, 2009 Share Posted June 30, 2009 HM, I am not one too familiar with DX7\. Mind helping me understand why the client won't accept this line:> Call DD.SetDisplayMode(800, 600, 24) Link to comment Share on other sites More sharing options...
Homicidal Monkey Posted June 30, 2009 Share Posted June 30, 2009 @MrMiguuâ„¢:> HM, I am not one too familiar with DX7\. Mind helping me understand why the client won't accept this line:check the code I just posted. You need to first set the cooperative mode to allow full screen. Link to comment Share on other sites More sharing options...
mrmiguu Posted July 1, 2009 Share Posted July 1, 2009 @Zetta:> check the code I just posted. You need to first set the cooperative mode to allow full screen.I found you were either missing some syntax to 'SetDisplayMode' or I was doing something wrong. I googled my problem and found out the line was supposed to be written as:> Call DD.SetCooperativeLevel(frmMirage.hWnd, DDSCL_EXCLUSIVE Or DDSCL_FULLSCREEN Or DDSCL_ALLOWREBOOT)> Call DD.SetDisplayMode(800, 600, 32, 0, DDSDM_DEFAULT) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now