April 11, 200719 yr Hi guys,I have been developing c gauges for about a year now and have recently decided to broaden my horizons. I have tried to do some research into gdi+ gauges, however i dont really know where to start. Does anyone know of any good tutorials or sample code that i can work through and basically set me on my way?many thanks :)
April 11, 200719 yr Arne published a radar gauge awhile back that is a good example of one way to setup GDI+ in FS. It's called "trafficradar", and you should be able to find it in all the usual places.The best reference besides the API docs on MSDN2 is a book "Graphics Programming with GDI+", but all the examples are in C#, so you will have to "translate" to C++. This is not hard if you simple look up stuff in the API docs.Be warned that it is not a trivial thing, especially if you are doing a multi-gauge and wish to properly encapsulate stuff. It requires an advanced understanding of both the FSAPI, and C++, but there are many here who have gone down this road and could help you.
April 12, 200719 yr After having a look round in the files part of this site i found the gauge you were talking about. It has all the bits i need to start working through to find out what does what! Thanks for the pointer. now let the games begin.....
April 20, 200719 yr If you go to the file library at the top of the page.once there search "gdi+".This will bring up two results. You want to download the fs2k2sdkwithgdi+ file, this has all the documentation that you will need.
Create an account or sign in to comment