VoyForums
[ Show ]
Support VoyForums
[ Shrink ]
VoyForums Announcement: Programming and providing support for this service has been a labor of love since 1997. We are one of the few services online who values our users' privacy, and have never sold your information. We have even fought hard to defend your privacy in legal cases; however, we've done it with almost no financial support -- paying out of pocket to continue providing the service. Due to the issues imposed on us by advertisers, we also stopped hosting most ads on the forums many years ago. We hope you appreciate our efforts.

Show your support by donating any amount. (Note: We are still technically a for-profit company, so your contribution is not tax-deductible.) PayPal Acct: Feedback:

Donate to VoyForums (PayPal):

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: [1] ]
Subject: C++ question,


Author:
adv203
[ Next Thread | Previous Thread | Next Message | Previous Message ]
Date Posted: 06:38:20 05/03/02 Fri

hi all,
i've start program gauges 3 months ago,and i've many questions:
i've try to compile a my fuel gauge, but when i start FS2002 there are no string: the window is correctly black (RGB 0,0,0) but there aren't indication.

MAKE_STRING
(
fuel_left_string,
NULL,
fuel_fail,
IMAGE_USE_ERASE,
0,
16,26,
50,37,
4,

FUEL_QUANTITY_LEFT,
MODULE_VAR_NONE,
MODULE_VAR_NONE,
RGB(255,0,0),
RGB(0,0,0),
RGB(92,92,92),
GAUGE_FONT_DEFAULT,
GAUGE_WEIGHT_DEFAULT,
GAUGE_CHARSET,
0,
DT_CENTER | DT_VCENTER | DT_SINGLELINE,
NULL,
fuel_string_cb
)

Another question, can you make me a example of the functions "register_var_by_name", "unregister_var_by_name" and "initialize_var_by_name"?

Then, in MAKE_ICON element i must not specify many bitmap (as example) but how MAKE_ICON recognize the other bitmap of function? Example: i must create a simple ON/OFF button, the MAKE_ICON structure require only 1 image..

excuse me for my English, i'm Italian...
thank you on advance for your replyes
hi Adv203

[ Next Thread | Previous Thread | Next Message | Previous Message ]

Replies:
Subject Author Date
Re: C++ question,Bill/FPDA16:26:13 05/21/02 Tue


[ Contact Forum Admin ]


Forum timezone: GMT-8
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.