Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Help my with frmMain


Aurelijus1
 Share

Recommended Posts

meaning the pictures are rendered and you edit the pictures them selves in the gfx/gui folder and then the game renders them onto the frmMain when called.

> Directx8.RenderTexture Tex_GUI((PICTURE # HERE), x, y, 0, 0, Width, Height, Width, Height
Link to comment
Share on other sites

Buttons are rendered as a button not as GUI, you just change the rendering position of button

> Directx8.RenderTexture Tex_Buttons(BUTTON NUM #), X, Y, 0, 0, Width, Height, Width, Height

and make sure the input is correct too. Not wanting to go into detail as not sure how it works in your engine, And you'll learn more figuring it out xD.
Link to comment
Share on other sites

Well the biggest Difference is DX7 works along side of the GDI while DX8 does not. If you try to use DX8 with the GDI it will not work well and sometimes will not work at all. This is because DX8 takes the context away from GDI. While DX7 will share the context with GDI. This is the main reason why DX7 is slower than DX8 but the downside is you lose the capability of the Drag and Drop GUI system. If you do use the GUI system along side DX8 you may encounter errors.
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...