[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paragui-users] Set/Get UserData from a widget
From: |
Keith Swyer |
Subject: |
[paragui-users] Set/Get UserData from a widget |
Date: |
Tue, 6 Aug 2002 14:39:06 -0300 |
hey, just wondering if anyone has used the SetUserData or GetUserData
members of PG_Widget. I keep getting access violations when trying to get
the userdata, being a PG_Rect*.
This may not make much sense, but...
//temp is a PG_Button
temp->SetUserData((void*)temp->GetClipRect(), sizeof(PG_Rect*));
PG_Rect *temp;
if (itr->second->GetUserDataSize())
itr->second->GetUserData((void*)temp); //access violation here
- [paragui-users] Set/Get UserData from a widget,
Keith Swyer <=