![]() |
XTPControlType |
Post Reply
|
| Author | |
ABuenger
Newbie
Joined: 02 February 2006 Status: Offline Points: 1075 |
Post Options
Thanks(0)
Quote Reply
Topic: XTPControlTypePosted: 09 June 2008 at 11:56am |
|
CXTPControls::FindControl() expects a XTPControlType as the first parameter, where xtpControlError means any control.
It would be much better if the literals would be named xtpControlUndefined and xtpControlAny, where xtpControlAny = xtpControlUndefined. FindControl(xtpControlAny) is much better than FindControl(xtpControlError) ![]() |
|
|
Codejock support
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 09 June 2008 at 3:50pm |
|
Hi,
You always can add
#define xtpControlAny xtpControlError
in stdafx.h
;-)
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |