Jump to content

Displaying XML A:atc flight number, string in GDI+


n4gix

Recommended Posts

StringFormat stringFormat;

 

WCHAR buf[10] = L"";

PCSTRINGZ atc_flight_number;

 

execute_calculator_code("(A:atc flight number,string)",NULL,NULL,&atc_flight_number);

swprintf(buf,L"%S", atc_flight_number);

RectF rectFfltid_num(100, 129, 100, 22);

stringFormat.SetAlignment(StringAlignmentNear);

graphics.DrawString(buf,-1,&Arial20,rectFfltid_num, &stringFormat, &greenBrush);

Bill Leaming http://smileys.sur-la-toile.com/repository/Combat/0054.gif

Gauge Programming - 3d Modeling Military Visualizations

Flightsim.com Panels & Gauges Forum Moderator

Flightsim Rig: Intel Core i7-2600K - 8GB DDR3 1333 - EVGA GTX770 4GB - Win7 64bit Home Premium

Development Rig1: Intel Core i7-3770k - 16GB DDR3 - Dual Radeon HD7770 SLI 1GB - Win7 64bit Professional

Development Rig2: Intel Core i7-860 - 8GB DDR3 Corsair - GeForce GTS240 1GB - Win7 64bit Home Premium

NOTE: Unless explicitly stated in the post, everything written by my hand is MY opinion. I do NOT speak for any company, real or imagined...

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...