19 September 2014, 03:06 | #1 |
Registered User
Join Date: Sep 2013
Location: Bettendorf, IA, USA
Age: 52
Posts: 204
|
Object width
I decided to update my gadgets from
Code:
struct Gadget *MyGad; Code:
Object *Objects[GAD_MYGAD]; Code:
MyGad->Width |
19 September 2014, 19:02 | #2 |
Total Chaos forever!
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,186
|
Have you tried "upcasting" the pointer?
Code:
(struct Gadget *)MyGad->width; ...or maybe it's: Code:
((struct Gadget *)MyGad)->width; |
19 September 2014, 23:06 | #3 |
Registered User
Join Date: Sep 2013
Location: Bettendorf, IA, USA
Age: 52
Posts: 204
|
Already tried them both, no luck.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ListBrowser column width | mritter0 | Coders. C/C++ | 1 | 08 August 2017 07:03 |
Get Gadget Width | mritter0 | Coders. C/C++ | 2 | 11 June 2014 02:27 |
Width adjustment stopped working on 1084S-P2. | e5frog | support.Hardware | 3 | 17 April 2014 23:16 |
Missing Object Disk.1 | Djay | project.WHDLoad | 15 | 06 December 2010 00:32 |
Decent fixed width fonts. | killergorilla | request.Other | 29 | 02 February 2007 19:16 |
|
|