Codejock Forums Homepage
Forum Home Forum Home > General > XAML Snippets
  New Posts New Posts RSS Feed - Markup: New global feature.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Markup: New global feature.

 Post Reply Post Reply
Author
Message
Oleg View Drop Down
Admin Group
Admin Group
Avatar

Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Topic: Markup: New global feature.
    Posted: 18 November 2007 at 12:48pm
Hi, All
 
We are preparing new Markup feature for 12.0 release that will be supported by all our controls - its something like HTML rendering, but based on XAML tags.
 
 
If you know XAML, please test these samples, try enter some markup to our sample and XamlPad from Microsoft SDK and find difference of rendering/clipping/XML parsing/etc
 
 
Samples:
 
Supported tags:
Page               (Margin, ClipToBound, HorizontalAlignment, VerticalAlignment, Width, Height, MinWidth, MaxWidth, MinHeight, MaxHeight,)
Border             (Margin, ClipToBound, HorizontalAlignment, VerticalAlignment, Width, Height, MinWidth, MaxWidth, MinHeight, MaxHeight, Padding, Background, BorderThickness, BorderBrush)
TextBlock          (Margin, ClipToBound, HorizontalAlignment, VerticalAlignment, Width, Height, MinWidth, MaxWidth, MinHeight, MaxHeight, Padding, Background, Foreground, TextWrapping, TextAlignment, TextDecorations, FontSize, FontWeight, FontFamily, FontStyle)
Image              (Margin, ClipToBound, HorizontalAlignment, VerticalAlignment, Width, Height, MinWidth, MaxWidth, MinHeight, MaxHeight, Source)
Panel              (Margin, ClipToBound, HorizontalAlignment, VerticalAlignment, Width, Height, MinWidth, MaxWidth, MinHeight, MaxHeight, Background
  StackPanel       (Margin, ClipToBound, HorizontalAlignment, VerticalAlignment, Width, Height, MinWidth, MaxWidth, MinHeight, MaxHeight, Background, Orientation)
  Canvas           (Margin, ClipToBound, HorizontalAlignment, VerticalAlignment, Width, Height, MinWidth, MaxWidth, MinHeight, MaxHeight, Background, Left, Right, Top, Bottom)
  Grid             (Margin, ClipToBound, HorizontalAlignment, VerticalAlignment, Width, Height, MinWidth, MaxWidth, MinHeight, MaxHeight, Background)
Run                (Background, Foreground, TextDecorations, FontSize, FontWeight, FontFamily, FontStyle)
Span               (Background, Foreground, TextDecorations, FontSize, FontWeight, FontFamily, FontStyle)
  Bold             (Background, Foreground, TextDecorations, FontSize, FontWeight, FontFamily, FontStyle)
  Italic           (Background, Foreground, TextDecorations, FontSize, FontWeight, FontFamily, FontStyle)
  Underline        (Background, Foreground, TextDecorations, FontSize, FontWeight, FontFamily, FontStyle)
  UIContainer      (Background, Foreground, TextDecorations, FontSize, FontWeight, FontFamily, FontStyle)
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
jimmy View Drop Down
Senior Member
Senior Member


Joined: 11 November 2003
Location: Austria
Status: Offline
Points: 515
Post Options Post Options   Thanks (0) Thanks(0)   Quote jimmy Quote  Post ReplyReply Direct Link To This Post Posted: 19 November 2007 at 4:49am
Hello,

Looks great.
i don't know XAML, but is <br> supported ?

  Jimmy

Back to Top
Oleg View Drop Down
Admin Group
Admin Group
Avatar

Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 19 November 2007 at 8:42am
Yeap:
 
<LineBreak/>
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Post Options Post Options   Thanks (0) Thanks(0)   Quote ABuenger Quote  Post ReplyReply Direct Link To This Post Posted: 19 November 2007 at 9:00am
Hello Oleg,

what is the usage of this markup? For text rendering only? A MFC implementation of WPF? Will all controls support this?

Will it be possible to use the grid for the dialog layout?


Andre
Codejock support
Back to Top
jimmy View Drop Down
Senior Member
Senior Member


Joined: 11 November 2003
Location: Austria
Status: Offline
Points: 515
Post Options Post Options   Thanks (0) Thanks(0)   Quote jimmy Quote  Post ReplyReply Direct Link To This Post Posted: 19 November 2007 at 9:59am
Please add to ListBoxSamle ES_WANTRETURN flag.
Because on ENTER dialog was closed.
  Jimmy

Back to Top
Oleg View Drop Down
Admin Group
Admin Group
Avatar

Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 20 November 2007 at 2:34am
Hi, Andre
 
It will be added for our MFC and ActiveX controls to render entry for Buttons, Tree, PopupControl, ListBox, MessageBoxes, Static etc.
 
Primary goal is to support formatted text output like Outlook tree:
 
 
or AboutBoxes and MessageBoxes (our CXTPTaskDialog will support it also)
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Oleg View Drop Down
Admin Group
Admin Group
Avatar

Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 20 November 2007 at 2:41am
Update:
Added full support for Grid Panel:
 
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
jimmy View Drop Down
Senior Member
Senior Member


Joined: 11 November 2003
Location: Austria
Status: Offline
Points: 515
Post Options Post Options   Thanks (0) Thanks(0)   Quote jimmy Quote  Post ReplyReply Direct Link To This Post Posted: 20 November 2007 at 5:00am
Why not use HTML render for this all ?

  Jimmy

Back to Top
Oleg View Drop Down
Admin Group
Admin Group
Avatar

Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 20 November 2007 at 7:16am
Hi,
 
HTML is good for Web, XAML for desktop applications.
 
 
it is visual designer for XAML.
 
Thanks.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Post Options Post Options   Thanks (0) Thanks(0)   Quote ABuenger Quote  Post ReplyReply Direct Link To This Post Posted: 20 November 2007 at 8:51am
Hello Oleg,

how can dynamic strings be used together with the markup? I would like to avoid to have the markup in code. Could you please add this to the samples?

Andre

Codejock support
Back to Top
pierremf View Drop Down
Newbie
Newbie


Joined: 20 November 2007
Location: France
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote pierremf Quote  Post ReplyReply Direct Link To This Post Posted: 20 November 2007 at 11:51am

Wow ! Sounds great : a native implementation of XAML !

Will you implement events and some control types (edit, buttons...) as well ? How far will you go in XAML support ?
 
Back to Top
Oleg View Drop Down
Admin Group
Admin Group
Avatar

Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 20 November 2007 at 2:12pm
Hi,
 
Andre, Yes it will be possible to create whole layout in code and dynamically change strings/widths/etc.
 
Think for first version there will be no common controls , just text and images.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Tomasz View Drop Down
Senior Member
Senior Member


Joined: 05 August 2006
Status: Offline
Points: 109
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tomasz Quote  Post ReplyReply Direct Link To This Post Posted: 22 November 2007 at 8:59pm
XAML in every control????? Please, please make it OPTIONAL so it does NOT affect application speed. Or provide compilation switch to TURN THIS OFF completely. I don't want my application to be slowed down just because of bells and whistles I am not going to use. Not everyone is making Outlook clones here. I am so worried with recent developments of XTP. You guys sacrifice speed and compactness. Each and every new version of XTP is larger, more bloated and slower. There are still people preferring SPEED.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group
Avatar

Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 23 November 2007 at 1:41am
By default it will be turned off. will be added EnableMarkup method to start use it.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
kylechen View Drop Down
Groupie
Groupie


Joined: 29 November 2004
Status: Offline
Points: 57
Post Options Post Options   Thanks (0) Thanks(0)   Quote kylechen Quote  Post ReplyReply Direct Link To This Post Posted: 24 November 2007 at 5:04am
That's great! I believe XML would be the future of programming, even programming language would finally be an XML document. I guess this would happen in 2 or 3 years.
Back to Top
MGebler View Drop Down
Groupie
Groupie


Joined: 18 May 2006
Location: Germany
Status: Offline
Points: 61
Post Options Post Options   Thanks (0) Thanks(0)   Quote MGebler Quote  Post ReplyReply Direct Link To This Post Posted: 19 December 2007 at 6:02am

Will there be a way to render the xaml-content to a GDI device context (HDC)?

Back to Top
Oleg View Drop Down
Admin Group
Admin Group
Avatar

Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 19 December 2007 at 12:33pm
yeap. it will be possible.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
pierremf View Drop Down
Newbie
Newbie


Joined: 20 November 2007
Location: France
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote pierremf Quote  Post ReplyReply Direct Link To This Post Posted: 19 December 2007 at 12:42pm
Any date for availability ?
Back to Top
Oleg View Drop Down
Admin Group
Admin Group
Avatar

Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 19 December 2007 at 2:50pm
Hi,
Here update of MarkupPad + new Samples.
 
 
Added WrapPanel and LinearGradientBrush tags,
Unicode text support even for ANSI applications (try run Welocome.xaml sample in win98)
Added Events - see DynamicMarkup.xaml sample
 
Please check new FinanceSample.xaml, HelpPageSample.xaml, StartPageSample.xaml and give your feedbacks.
 
 
Markup already added for Button, RadioButton, CheckBoxes, List and tree. Here screenshot of 12.0 release.
 
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Post Options Post Options   Thanks (0) Thanks(0)   Quote ABuenger Quote  Post ReplyReply Direct Link To This Post Posted: 19 December 2007 at 6:28pm
Looks great Oleg! 
Codejock support
Back to Top
kylechen View Drop Down
Groupie
Groupie


Joined: 29 November 2004
Status: Offline
Points: 57
Post Options Post Options   Thanks (0) Thanks(0)   Quote kylechen Quote  Post ReplyReply Direct Link To This Post Posted: 19 December 2007 at 8:17pm

Will it decrease the running performance? or it requires a fast machine...

Back to Top
gshawn View Drop Down
Senior Member
Senior Member


Joined: 04 October 2004
Status: Offline
Points: 227
Post Options Post Options   Thanks (0) Thanks(0)   Quote gshawn Quote  Post ReplyReply Direct Link To This Post Posted: 19 December 2007 at 10:20pm
That looks awesome. Can't wait to play with this... cheers!  
Back to Top
pierremf View Drop Down
Newbie
Newbie


Joined: 20 November 2007
Location: France
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote pierremf Quote  Post ReplyReply Direct Link To This Post Posted: 20 December 2007 at 5:49am

Wow ! Looks great !

The provided xaml samples can also be opened in IE7 (with .NET 3), or pasted in Expression Blend to build a WPF application !

I would like to suggest one thing: clickable hyperlinks are implemented in MarkupPad, this is great, but I would enjoy a more general clickable object.
 
I can't help showing a sample WPF application: (paste Oleg's XAML code in Expression Blend, then click on Build)
 
 
Back to Top
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Post Options Post Options   Thanks (0) Thanks(0)   Quote ABuenger Quote  Post ReplyReply Direct Link To This Post Posted: 20 December 2007 at 6:57am
Hello Oleg,

two suggestions:

a) Please offer a method to enable ClearType for text rendering

b) Have you thought about using different backends than GDI, like OpenGL or DirectX?

Codejock support
Back to Top
Oleg View Drop Down
Admin Group
Admin Group
Avatar

Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 20 December 2007 at 12:09pm
Hi,
 
1) yeap, all objects will support Click, MouseEnter, MouseLeave events. plus we plan to add buttons and scrolling for first release.
 
a) ok :)
 
b) yes, we thought to try directx or GDI++ but afraid it can decrease perfomance. :-(
 
 
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
jimmy View Drop Down
Senior Member
Senior Member


Joined: 11 November 2003
Location: Austria
Status: Offline
Points: 515
Post Options Post Options   Thanks (0) Thanks(0)   Quote jimmy Quote  Post ReplyReply Direct Link To This Post Posted: 08 January 2008 at 5:46pm
Hi,

Brilliant !
i think it come with 12.0.
Any time to release 12.0 ?
Because we need this feature for a listbox, as far as posibble.
Or are the source available (customer,beta-tester,...)

  Jimmy

Back to Top
ijwelch View Drop Down
Senior Member
Senior Member


Joined: 20 June 2006
Status: Offline
Points: 262
Post Options Post Options   Thanks (0) Thanks(0)   Quote ijwelch Quote  Post ReplyReply Direct Link To This Post Posted: 08 January 2008 at 8:41pm
Will this be included in COM controls?
Back to Top
Oleg View Drop Down
Admin Group
Admin Group
Avatar

Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 10 January 2008 at 8:26am
Hello,
 
It will be included in 12.0, think in the end of month we wil publish beta.
 
Markup will be part of ActiveX also
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Post Options Post Options   Thanks (0) Thanks(0)   Quote ABuenger Quote  Post ReplyReply Direct Link To This Post Posted: 12 January 2008 at 1:11pm
Hello Oleg,

I saw in the DynamicMarkup.xaml that you can catch events (MouseEnter, ...), how do you bind them to C++ functions (SetText1, ....)?

Similar to the IDispatch COM interface?

Also will BAML files be supported? (I don't think that this should be top priority, XAML files will work just fine as for now)


Andre

Codejock support
Back to Top
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Post Options Post Options   Thanks (0) Thanks(0)   Quote ABuenger Quote  Post ReplyReply Direct Link To This Post Posted: 13 January 2008 at 5:25pm
Btw., doesn't the markup feature make HTML tooltips needless? Why are they needed any longer?

Codejock support
Back to Top
Oleg View Drop Down
Admin Group
Admin Group
Avatar

Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 14 January 2008 at 5:35am
Hi,
 
1. for binding will be used only C++ way:
 
SetDelegate(L"SetText1", CreateMarkupClassDelegate(this, &CMarkupPadView::OnSetText1));
 
...
void CMarkupPadView::OnSetText1(CXTPMarkupObject* pSender, CXTPMarkupMouseEventArgs* /*pArgs*/)
{
 ((CXTPMarkupTextBlock*)pSender)->SetText(L"New Text");
}

 
2. Yeap, already added xtpToolTipMarkup for tooltips. HTML will be used for compatibility.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
tfrancois View Drop Down
Groupie
Groupie


Joined: 21 August 2007
Status: Offline
Points: 78
Post Options Post Options   Thanks (0) Thanks(0)   Quote tfrancois Quote  Post ReplyReply Direct Link To This Post Posted: 18 January 2008 at 3:13am
Originally posted by oleg oleg wrote:

Hi, 
Markup already added for Button, RadioButton, CheckBoxes, List and tree.
 
Is the markup available for caption property of individual tabs in the Tab control ActiveX version? This is a feature that NO OTHER TAB control has and I badly.
 
 
Currently, the way I have implemented this is to overlap my existing tab control with a label control, but positioning is static and dependent on tab captions font size, caption text, etc.  Any variation of such elements would not produce desired results.  PLEASE HELP!!!
Back to Top
Oleg View Drop Down
Admin Group
Admin Group
Avatar

Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 18 January 2008 at 6:28am
Hi,
Thanks good suggestion.
 
Edit: Added :)
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Fabian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 22 November 2004
Location: Switzerland
Status: Offline
Points: 336
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fabian Quote  Post ReplyReply Direct Link To This Post Posted: 19 January 2008 at 11:23am
Hi oleg
 
...and for events in CalendarControl?
 
Thanks
Product: Xtreme SuitePro (ActiveX) version 16.2.3

Platform: Windows 7 (32bit)

Language: Visual Basic 6.0 / SP6
Back to Top
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Post Options Post Options   Thanks (0) Thanks(0)   Quote ABuenger Quote  Post ReplyReply Direct Link To This Post Posted: 19 January 2008 at 6:15pm
Hello Oleg,

can you add a splash screen with markup support?

Andre

Codejock support
Back to Top
Oleg View Drop Down
Admin Group
Admin Group
Avatar

Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 21 January 2008 at 2:18am
Yes, why not. added simple static control that supports markup. it can be added in splash, dialog etc.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
jimmy View Drop Down
Senior Member
Senior Member


Joined: 11 November 2003
Location: Austria
Status: Offline
Points: 515
Post Options Post Options   Thanks (0) Thanks(0)   Quote jimmy Quote  Post ReplyReply Direct Link To This Post Posted: 21 January 2008 at 4:44am
Wish some global function or classes for markup, for simple add to own control.

Sample:
class CXTMarkup
{
    static CSize CalcSize(CString strText, int iMaxWidth);
    static void Draw(CString strText, .....)
}

  Jimmy

Back to Top
tNgLoo View Drop Down
Groupie
Groupie


Joined: 21 April 2005
Status: Offline
Points: 31
Post Options Post Options   Thanks (0) Thanks(0)   Quote tNgLoo Quote  Post ReplyReply Direct Link To This Post Posted: 21 January 2008 at 9:34am
BMP file is supported. jpg and gif or other picture format file will be supported preferably.
Back to Top
jimmy View Drop Down
Senior Member
Senior Member


Joined: 11 November 2003
Location: Austria
Status: Offline
Points: 515
Post Options Post Options   Thanks (0) Thanks(0)   Quote jimmy Quote  Post ReplyReply Direct Link To This Post Posted: 21 January 2008 at 10:12am
Please also add png file support.

  Jimmy

Back to Top
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Post Options Post Options   Thanks (0) Thanks(0)   Quote ABuenger Quote  Post ReplyReply Direct Link To This Post Posted: 23 January 2008 at 8:19pm
Hello Oleg,

can I use the markup feature to make a caption bar?

http://forum.codejock.com/forum_posts.asp?TID=8429

It would be slick if there would be a <Button> tag!!!

Thanks

Codejock support
Back to Top
Oleg View Drop Down
Admin Group
Admin Group
Avatar

Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 24 January 2008 at 12:56am
Hi,
There will be Button tag :-)
And png support and simple API to draw text in some rect.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
jimmy View Drop Down
Senior Member
Senior Member


Joined: 11 November 2003
Location: Austria
Status: Offline
Points: 515
Post Options Post Options   Thanks (0) Thanks(0)   Quote jimmy Quote  Post ReplyReply Direct Link To This Post Posted: 24 January 2008 at 5:17am
very fine, can't wait longer
We need it.

  Jimmy

Back to Top
jimmy View Drop Down
Senior Member
Senior Member


Joined: 11 November 2003
Location: Austria
Status: Offline
Points: 515
Post Options Post Options   Thanks (0) Thanks(0)   Quote jimmy Quote  Post ReplyReply Direct Link To This Post Posted: 24 January 2008 at 10:59am
Support for animated pictures (gif,...)

    Jimmy

Back to Top
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Post Options Post Options   Thanks (0) Thanks(0)   Quote ABuenger Quote  Post ReplyReply Direct Link To This Post Posted: 24 January 2008 at 11:13am
Originally posted by jimmy jimmy wrote:

Support for animated pictures (gif,...)

    Jimmy



Do you have an actual use case for that? I don't think we should request every feature we can think of but only those we actually would like to make use of.

Codejock support
Back to Top
jimmy View Drop Down
Senior Member
Senior Member


Joined: 11 November 2003
Location: Austria
Status: Offline
Points: 515
Post Options Post Options   Thanks (0) Thanks(0)   Quote jimmy Quote  Post ReplyReply Direct Link To This Post Posted: 24 January 2008 at 11:32am
see
https://forum.codejock.com/forum_posts.asp?TID=9403

i think markup (xaml) is available for many CodeJock Controls. Also
CXTTabControl.

  Jimmy

Back to Top
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Post Options Post Options   Thanks (0) Thanks(0)   Quote ABuenger Quote  Post ReplyReply Direct Link To This Post Posted: 24 January 2008 at 11:39am
Originally posted by jimmy jimmy wrote:

see
https://forum.codejock.com/forum_posts.asp?TID=9403


That can already be done easily today. Actually I have that in my app. You just need to create a bitmap similar to the toolbar bitmaps which each step next to each other (A B C D ...) then load it into an ImageList and change the index with a timer.

There is a nice app on Codeproject to create a throbber:

http:///www.codeproject.com/KB/cpp/mrg_loadingcircle.aspx
Codejock support
Back to Top
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Post Options Post Options   Thanks (0) Thanks(0)   Quote ABuenger Quote  Post ReplyReply Direct Link To This Post Posted: 24 January 2008 at 2:37pm
Hello Oleg,

could you please upload a new version of the MarkupPad? One that supports the <Button> tag?

Thanks Andre

Codejock support
Back to Top
Oleg View Drop Down
Admin Group
Admin Group
Avatar

Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 29 January 2008 at 1:11pm
Hello,
 
 
Attached last MarkupPad.
Added Styles and Tiggers, Button, RadioButton,CheckBox and ScrollViewer.
See new samples.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
jimmy View Drop Down
Senior Member
Senior Member


Joined: 11 November 2003
Location: Austria
Status: Offline
Points: 515
Post Options Post Options   Thanks (0) Thanks(0)   Quote jimmy Quote  Post ReplyReply Direct Link To This Post Posted: 30 January 2008 at 3:21am
Excellent.

  Jimmy

Back to Top
ReyesRP View Drop Down
Groupie
Groupie


Joined: 30 January 2008
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote ReyesRP Quote  Post ReplyReply Direct Link To This Post Posted: 30 January 2008 at 11:50am
Will it be possible to use this inside cells in a CXTPReportControl?
 
Last time I looked, CXTPReportControl only supported one icon per cell and there are cases where I want to use 2 (ie. one icon before the text and one after).
Back to Top
Oleg View Drop Down
Admin Group
Admin Group
Avatar

Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 31 January 2008 at 12:39am
Hi,
Yes, Report will support Markup too.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
markr View Drop Down
Senior Member
Senior Member


Joined: 01 August 2004
Status: Offline
Points: 383
Post Options Post Options   Thanks (0) Thanks(0)   Quote markr Quote  Post ReplyReply Direct Link To This Post Posted: 31 January 2008 at 11:41am
I've finally had a chance to explore the samples, and came away extremely impressed by this implementation. My mind is racing with ways that we might integrate these capabilities into our applications.

Congratulations on the quality of the work being done here.

Back to Top
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Post Options Post Options   Thanks (0) Thanks(0)   Quote ABuenger Quote  Post ReplyReply Direct Link To This Post Posted: 01 February 2008 at 10:58am
Originally posted by oleg oleg wrote:

Added Styles and Tiggers, Button, RadioButton,CheckBox and ScrollViewer.


Hello Oleg,

can you add markup support for drop down and combobox too? Those controls with UTF8 support would be great!

Thanks Andre

Codejock support
Back to Top
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post Posted: 01 February 2008 at 11:15am
Originally posted by markr markr wrote:

I've finally had a chance to explore the samples, and came away extremely impressed by this implementation. My mind is racing with ways that we might integrate these capabilities into our applications.

Congratulations on the quality of the work being done here.

I agree that it's great software - what would you use it for? My software is highly graphical but so far I don't really see why / where one would use this given the technology we already have.
 
I'm ready to learn :-)
Simon HB9DRV
Back to Top
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Post Options Post Options   Thanks (0) Thanks(0)   Quote ABuenger Quote  Post ReplyReply Direct Link To This Post Posted: 05 February 2008 at 12:17pm
Originally posted by ABuenger ABuenger wrote:

Hello Oleg,

can you add markup support for drop down and combobox too? Those controls with UTF8 support would be great!

Thanks Andre




Oleg?

Also a markup derived property page header would be nice. Is it possible to have a stretched/repeated background?

http://forum.codejock.com/forum_posts.asp?TID=8236
Codejock support
Back to Top
Oleg View Drop Down
Admin Group
Admin Group
Avatar

Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 05 February 2008 at 12:52pm

ok.

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
zaksoft View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 June 2003
Location: Italy
Status: Offline
Points: 162
Post Options Post Options   Thanks (0) Thanks(0)   Quote zaksoft Quote  Post ReplyReply Direct Link To This Post Posted: 07 February 2008 at 12:57am
All these items are very helpfull, I need to display some messages in a custom control and markup can be a highly appreciated starting point... but I need to know if the new version is available in 1 week, 1 month or somewhere during this year...
 
I think that many of us are re-engineering code due to Vs2008 porting and if new version will be made available in april we have to skip this version.
 
Davide
VS2008 SP1 - VS2010 SP1 - VS2012 - MFC MBCS Statically linked
XTP 15.3.1 Static Link
---------------------------------------------------------
Davide Zaccanti - ZakSoft - www.zaksoft.com
Back to Top
Oleg View Drop Down
Admin Group
Admin Group
Avatar

Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 07 February 2008 at 6:45am

We plan release 12.0 only in the mid/end of March.

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Posted: 17 February 2008 at 1:14pm
Another thing; will there be a general function available so that you could use this in place of TextOut() calls? Something like this:
 
Custom drawn CWnd:
CXTPMarkupMagic()->DrawText(x, y, "<b>Voilą!</b>");
Back to Top
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Post Options Post Options   Thanks (0) Thanks(0)   Quote ABuenger Quote  Post ReplyReply Direct Link To This Post Posted: 18 February 2008 at 12:56am
Originally posted by znakeeye znakeeye wrote:

CXTPMarkupMagic()->DrawText(x, y, "<b>Voilą!</b>");


DrawText needs a RECT But Oleg already said that such a method will be available.

Codejock support
Back to Top
emailstomark View Drop Down
Newbie
Newbie


Joined: 11 August 2007
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote emailstomark Quote  Post ReplyReply Direct Link To This Post Posted: 22 February 2008 at 8:33am

Hi

 

Can you see this being used as an alternative to a richtextbox control.

Would the codejock textbox act like one when it's released.

 

Cheers

 

Mark
Back to Top
zaksoft View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 June 2003
Location: Italy
Status: Offline
Points: 162
Post Options Post Options   Thanks (0) Thanks(0)   Quote zaksoft Quote  Post ReplyReply Direct Link To This Post Posted: 13 March 2008 at 12:18pm
Curiam, in qua occisus est obstrui placuit Idusque Martias Parricidium nominari, ac ne umquam eo die senatus ageretur..
 
Svetonio, De vita caesarum...
 
...please not saturday...
VS2008 SP1 - VS2010 SP1 - VS2012 - MFC MBCS Statically linked
XTP 15.3.1 Static Link
---------------------------------------------------------
Davide Zaccanti - ZakSoft - www.zaksoft.com
Back to Top
zaksoft View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 June 2003
Location: Italy
Status: Offline
Points: 162
Post Options Post Options   Thanks (0) Thanks(0)   Quote zaksoft Quote  Post ReplyReply Direct Link To This Post Posted: 14 March 2008 at 1:50pm
On 15 of march  "Idusque Martias" of 44bc Julius Caesar was killed, and from then in Rome in middle of march the Senate  is closed... Someone says that is not a good day to start someting...
 
Svetonio wrote Caesar's biography.. is very interesting and it's available also in english other than latin.
 
Maybe version 12.0 is our Easter egg.... but I hope not to find unusefull things like usually.
 
 
VS2008 SP1 - VS2010 SP1 - VS2012 - MFC MBCS Statically linked
XTP 15.3.1 Static Link
---------------------------------------------------------
Davide Zaccanti - ZakSoft - www.zaksoft.com
Back to Top
pierremf View Drop Down
Newbie
Newbie


Joined: 20 November 2007
Location: France
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote pierremf Quote  Post ReplyReply Direct Link To This Post Posted: 19 March 2008 at 7:07am
Will see release before my yearly subscribtion to Toolkit Pro ends ?
Back to Top
pierremf View Drop Down
Newbie
Newbie


Joined: 20 November 2007
Location: France
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote pierremf Quote  Post ReplyReply Direct Link To This Post Posted: 23 March 2008 at 7:11pm
OK thanks Mario !
Can we go live with this beta version ?
Can we have a rough estimation for a release version ? (I hate when people ask me this kind of questions )
 
Beta for v12 is a 30-day eval. Does that mean that RTM will be available within one month :p ?
Back to Top
tfrancois View Drop Down
Groupie
Groupie


Joined: 21 August 2007
Status: Offline
Points: 78
Post Options Post Options   Thanks (0) Thanks(0)   Quote tfrancois Quote  Post ReplyReply Direct Link To This Post Posted: 23 March 2008 at 10:50pm
VERY IMPORTANT QUESTION!
 
Will I be able to do an in-place upgrade from the beta to the final 12.0 initial release?  I spent a lot of time integrating enhancements/changes from the beta into my ActiveX project and it would be disastrous if I would have to re-do everything all over once I do the re-installation/update.
 
Please tell me I have nothing to worry about, Mario!
 
Back to Top
Oleg View Drop Down
Admin Group
Admin Group
Avatar

Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 24 March 2008 at 3:29am
Hi,
 
You have nothing to worry :)
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
tfrancois View Drop Down
Groupie
Groupie


Joined: 21 August 2007
Status: Offline
Points: 78
Post Options Post Options   Thanks (0) Thanks(0)   Quote tfrancois Quote  Post ReplyReply Direct Link To This Post Posted: 24 March 2008 at 5:17am
Thank you, Oleg.  Now my work can continue unabated!
 
I hate to be a bother about this...but could you tell me if there are any updates on the design-time designer for the Ribbon controls like we talked about?  I still think it is an extremely valuable addition that is currently sorely lacking.
 
And please keep up the great work.  All your efforts are appreciated.
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18047
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 24 March 2008 at 1:29pm
Let's try to keep this thread on topic Markup: New global feature.

Any other comments about the beta should be posted in a new thread or the thread in the announcements section.

Thanks
Back to Top
tobi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 September 2004
Location: Germany
Status: Offline
Points: 451
Post Options Post Options   Thanks (0) Thanks(0)   Quote tobi Quote  Post ReplyReply Direct Link To This Post Posted: 26 March 2008 at 6:20am
How do I catch eg. clicks on links in a XAML view using the ActiveX version ?
Back to Top
ingo View Drop Down
Newbie
Newbie


Joined: 10 March 2006
Location: Germany
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote ingo Quote  Post ReplyReply Direct Link To This Post Posted: 27 March 2008 at 9:22am
Hi,

nice feature :-)

One question: will it be possible to display transparent images (gif or png)?

Back to Top
Baldur View Drop Down
Senior Member
Senior Member


Joined: 22 November 2006
Location: Germany
Status: Offline
Points: 244
Post Options Post Options   Thanks (0) Thanks(0)   Quote Baldur Quote  Post ReplyReply Direct Link To This Post Posted: 27 March 2008 at 10:26am

Hello,

when you support MarkUp vor ReportControl, is it than possible, to use markups also in Column.Caption ?
 
This would be great and solve the problem of diffenrent fonts.
 
When i use DrawItem-event to draw the active cell by my self (i'm showing spark-chart's), is it possible to draw the rest of a RECT than with MarkUp ?
 
Thanks a lot for your software, i use it intensivly for my BI-Application.
Regards
Baldur
Back to Top
tobi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 September 2004
Location: Germany
Status: Offline
Points: 451
Post Options Post Options   Thanks (0) Thanks(0)   Quote tobi Quote  Post ReplyReply Direct Link To This Post Posted: 28 March 2008 at 7:57am
How do I catch eg. clicks on links in a XAML view using the ActiveX version ?
 
Can anyone from Codejock please answer this ?
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18047
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 28 March 2008 at 8:57am
Originally posted by tobi tobi wrote:

How do I catch eg. clicks on links in a XAML view using the ActiveX version ?
 
Can anyone from Codejock please answer this ?


Here is a pre-beta release of the MarkupGuide.  It needs to be updated and revised, so not all information is relevant.

uploads/20080328_085242_MarkupGuide.zip

You will be interested in:
    ExtendedMarkup->Linking XAML Events to Subroutines in Code
    ExtendedMarkup->Full Page Markups

Note for ActiveX only the Label control actually supports MarkupContext.

Note 2, the way the Calendar works has changed since this was written, so the Calendar page should be disregarded until the guide is officially released.

Hope this helps you for now
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18047
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 28 March 2008 at 9:49am
Originally posted by ingo ingo wrote:

Hi,

nice feature :-)

One question: will it be possible to display transparent images (gif or png)?



Yes
Back to Top
tobi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 September 2004
Location: Germany
Status: Offline
Points: 451
Post Options Post Options   Thanks (0) Thanks(0)   Quote tobi Quote  Post ReplyReply Direct Link To This Post Posted: 28 March 2008 at 11:19am
Hi SuperMario,
 
thanks for the help ! Is XAML also supported in Statusbar and MDI-Tabs ?
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18047
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 28 March 2008 at 12:29pm
Originally posted by tobi tobi wrote:

Hi SuperMario,
 
thanks for the help ! Is XAML also supported in Statusbar and MDI-Tabs ?


Statusbar - Yes
MDI Tabs - No
Back to Top
tobi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 September 2004
Location: Germany
Status: Offline
Points: 451
Post Options Post Options   Thanks (0) Thanks(0)   Quote tobi Quote  Post ReplyReply Direct Link To This Post Posted: 28 March 2008 at 1:03pm

Thanks ! But I can“t find EnableMarkup for statusbar !

Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18047
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 28 March 2008 at 1:18pm
Originally posted by tobi tobi wrote:

Thanks ! But I can“t find EnableMarkup for statusbar !



It's not there, enabled automatically, I've recommended that this property be added.
Back to Top
JantjeKeizer View Drop Down
Groupie
Groupie


Joined: 12 February 2008
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote JantjeKeizer Quote  Post ReplyReply Direct Link To This Post Posted: 28 March 2008 at 7:30pm
I can't get XAML events to work in VB6. I read the documentation and am pretty sure I'm doing it as I should be doing it, but when I click on the link, nothing happens.
Are you sure this should be working with the AX version?
Back to Top
serbius View Drop Down
Newbie
Newbie


Joined: 25 April 2007
Location: Belarus
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote serbius Quote  Post ReplyReply Direct Link To This Post Posted: 30 April 2008 at 8:25pm
Any plans to add Markup support for Group rows in Report Control? We really need this feature...

Also it would be nice to have this feature available for Report Control header (columns).

Back to Top
BobWansink View Drop Down
Groupie
Groupie
Avatar

Joined: 24 January 2008
Status: Offline
Points: 59
Post Options Post Options   Thanks (0) Thanks(0)   Quote BobWansink Quote  Post ReplyReply Direct Link To This Post Posted: 14 July 2008 at 3:10am
Originally posted by oleg oleg wrote:

Supported tags:
Page               (Margin, ClipToBound, HorizontalAlignment, VerticalAlignment, Width, Height, MinWidth, MaxWidth, MinHeight, MaxHeight,)
Border             (Margin, ClipToBound, HorizontalAlignment, VerticalAlignment, Width, Height, MinWidth, MaxWidth, MinHeight, MaxHeight, Padding, Background, BorderThickness, BorderBrush)
TextBlock          (Margin, ClipToBound, HorizontalAlignment, VerticalAlignment, Width, Height, MinWidth, MaxWidth, MinHeight, MaxHeight, Padding, Background, Foreground, TextWrapping, TextAlignment, TextDecorations, FontSize, FontWeight, FontFamily, FontStyle)
Image              (Margin, ClipToBound, HorizontalAlignment, VerticalAlignment, Width, Height, MinWidth, MaxWidth, MinHeight, MaxHeight, Source)
Panel              (Margin, ClipToBound, HorizontalAlignment, VerticalAlignment, Width, Height, MinWidth, MaxWidth, MinHeight, MaxHeight, Background
  StackPanel       (Margin, ClipToBound, HorizontalAlignment, VerticalAlignment, Width, Height, MinWidth, MaxWidth, MinHeight, MaxHeight, Background, Orientation)
  Canvas           (Margin, ClipToBound, HorizontalAlignment, VerticalAlignment, Width, Height, MinWidth, MaxWidth, MinHeight, MaxHeight, Background, Left, Right, Top, Bottom)
  Grid             (Margin, ClipToBound, HorizontalAlignment, VerticalAlignment, Width, Height, MinWidth, MaxWidth, MinHeight, MaxHeight, Background)
Run                (Background, Foreground, TextDecorations, FontSize, FontWeight, FontFamily, FontStyle)
Span               (Background, Foreground, TextDecorations, FontSize, FontWeight, FontFamily, FontStyle)
  Bold             (Background, Foreground, TextDecorations, FontSize, FontWeight, FontFamily, FontStyle)
  Italic           (Background, Foreground, TextDecorations, FontSize, FontWeight, FontFamily, FontStyle)
  Underline        (Background, Foreground, TextDecorations, FontSize, FontWeight, FontFamily, FontStyle)
  UIContainer      (Background, Foreground, TextDecorations, FontSize, FontWeight, FontFamily, FontStyle)


is this still the list of supported tags? I know you can check it by pasting some code in MarkupPad, but a list is easier and faster to use...

Thanks!
Back to Top
Oleg View Drop Down
Admin Group
Admin Group
Avatar

Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 15 July 2008 at 9:27am
I will attach Diagram in next thread.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.156 seconds.