Prev: Pipes - Named or Anonymous
Next: ETW/WPP Logging issue
From: Arif Ali Saiyed on 6 Jan 2010 03:06 Hi All, I am using VS 2008. I wanted to add a checkbox inside a tab control in a simple Win32 project. but it's not straight forward it seems. This how I did it step 1: Created a Visual C++->Win32->Win32 Project it created a winows application project.... step 2 : double click RC file of project , went to dialog ... there is one dialog automatically generated by VS2008.. about dialog... double clicked it step 3: increased size of this dilaog ... step 4 : Clicked Tab control in Toolbox and created a tab on this about dialog step 5: clicked checkbox in toolbox and created a check box in visual boundies of Tab control.... assuming that it will create a check box inside tab control but it did not.... step 6: Moving tab control shows clearly that checkbox is not inside it...it's outside tab step 7 ... tried looking in properties of Tab control , could not figoure out any property which will do this ... moreover also could not figure out how to add/delete/edit tabs...using properties panel of VS2008 Searching over net shows me only MFC and .Net solutions, but could not find anything related to plain Win32 controls. even on the msdn i wasn't able to find anything other than this http://msdn.microsoft.com/en-us/library/w149892x.aspx which is a .Net solution... I think it's a very basic problem, and I am missing something very basic ..any help would be appreciated. Thanks in advance, -Arif
From: Leslie Milburn on 6 Jan 2010 04:10 "Arif Ali Saiyed" <arif.ali.syed(a)gmail.com> wrote in message news:cb7a868a-9d6a-45af-9d34-61a3012a9586(a)j14g2000yqm.googlegroups.com... > Hi All, > > I think it's a very basic problem, and I am missing something very > basic ..any help would be appreciated. > > Thanks in advance, > > -Arif Its been a long time since I used a tab control but from memory you are supposed to create a child window for each tab and place the controls on the particular dialog. Clicking the tab will send a message to your program telling you which child window is to be displayed. I think this is correct Leslie.
From: Arif Ali Saiyed on 6 Jan 2010 05:38 > Its been a long time since I used a tab control but from memory you are > supposed to create a child window for each tab and place the controls on the > particular dialog. Clicking the tab will send a message to your program > telling you which child window is to be displayed. > > I think this is correct > Leslie. Well does that means, 1) we can not create check box as a child of Tab control 2) can not add/delete Tabs at design time ( before compilation, execution) using the standard control editor of VS.NET ( Toolbox, properties editor and the dialog editor) VS 2008 IDE should have provided a way to do it design time :( -Arif
From: Arif Ali Saiyed on 8 Jan 2010 15:11 Hi Leslie, Thanks a lot for your reply on how to handle this, I have understood it quite a bit but i think I am first exploring other ways ( other than pure Win32 programming) to do the same using Delphi, MFC, .NET etc... .NET Forms based sultions looks quite good .. it's almost like VB... exploring them if they can successfullt integrated into my application... Thanks for your help...
|
Pages: 1 Prev: Pipes - Named or Anonymous Next: ETW/WPP Logging issue |