Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Tab Control

John4
Valued Contributor I
581 Views
Hi,

This question is more about the VS2005 IDE than IVF, but...

I'm trying to use the tab control from a dialog box, and I want to know if it's possible to add the controls for each tab strip during design (as opposed to adding them at run-time). I tried with a VC++ application as well, with no success. With VB, on the other hand, it works. Is it a ".NET Framework only" feature? If no, what should I do to make it work from a dialog-based application (IVF)?


John.
0 Kudos
2 Replies
Jugoslav_Dujic
Valued Contributor II
581 Views
The normal way to do it is to
  • for each tab page, create a separate dialog which is borderless and has WS_CHILD and DS_CONTROL styles
  • in run-time, create those dialogs as modeless and attach the dialogs to the tab control
There is "Using Tab Controls" page in IVF compiler documentation, which gives a good overview. There is/used to be sample called SHOWFONT, which you can also take a look at.
0 Kudos
John4
Valued Contributor I
581 Views
Yeah, that's the CVF way. I just wanted know if there was another way to do it.

Thanks for the reply, anyway.


John.
0 Kudos
Reply