Syntax edit within dialog |
Post Reply |
Author | |
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Posted: 20 January 2007 at 2:45pm |
Hi,
How do I add a syntax edit control in a dialog resource? I tried adding a custom class with the class name set to "XTPSyntaxEditCtrl", but it didn't work.
Any ideas?
Thanks!
|
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
Please read the following topic: http://forum.codejock.com/forum_posts.asp?TID=5211
It is for Report control but the idea is the same - you have to call
-- WBR, Serge |
|
kusim
Newbie Joined: 11 May 2006 Location: Korea, North Status: Offline Points: 5 |
Post Options
Thanks(0)
|
Sorry, Can I get some sample about this?
|
|
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1201 |
Post Options
Thanks(0)
|
Hi;
has anyone successfully integrated the sytax edit control in a dialog?
I'm unable to do this! I tried the solutions mentioned by Serge but with no success.
Unfortunately CXTPSyntaxEditCtrl::RegisterWindowClass() is a private function.
Any help is very welcome.
|
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
AndreiM
Moderator Group Joined: 18 August 2007 Status: Offline Points: 132 |
Post Options
Thanks(0)
|
Dialog support added in 11.2.
See example at: ExtendedSamples\SyntaxEditOnDialog.zip
|
|
RobiSoft
Newbie Joined: 09 October 2007 Location: Italy Status: Offline Points: 4 |
Post Options
Thanks(0)
|
Very well, but where can I find the extended samples? I have installed the 11.2.0 version....
Thank you
|
|
AndreiM
Moderator Group Joined: 18 August 2007 Status: Offline Points: 132 |
Post Options
Thanks(0)
|
They are placed here: ToolkitPro\Workspace\Support\ExtendedSamples
But to be shue I attach it here: uploads/20071009_104114_SyntaxEditOnDia.zip
|
|
RobiSoft
Newbie Joined: 09 October 2007 Location: Italy Status: Offline Points: 4 |
Post Options
Thanks(0)
|
Thank you very much. The example works fine!!
|
|
kingsollyu
Newbie Joined: 28 September 2012 Status: Offline Points: 2 |
Post Options
Thanks(0)
|
in ur *Dlg.h include
and add on OnInitDialog()
|
|
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 |