How to use form view in tab control
-
Hi can u suggest me how to use a form view in tab control.I have done using dialogs in tab control for each tab item Thanks, Sireesha
-
Hi can u suggest me how to use a form view in tab control.I have done using dialogs in tab control for each tab item Thanks, Sireesha
-
Why you want to use form view instead of a dialog? What feature do you expected doing so?
nave
My application is like... I need to get a vertical scroll bar when the size of the dialog increases.this should not increase the size of tab control is there any way of doing that
-
My application is like... I need to get a vertical scroll bar when the size of the dialog increases.this should not increase the size of tab control is there any way of doing that
-
My application is like... I need to get a vertical scroll bar when the size of the dialog increases.this should not increase the size of tab control is there any way of doing that
ok..I will suggest your a mehtod to this in dialog itself. Specify the WS_VSROLL style fo the dislog that you added to tab Create another dialog as the child of the dialog that you add to tab control. you should put all the control in the second dialog. So when use clicks on the scroll button, just move the innner dialog up or down specify the WS_VSROLL style if you want to scroll dialog horizontally use Setscrollinfo funtion in the begining to set the scroll bar sizes
nave
-
yes,the dialog size should be increased dynamically.
-
ok..I will suggest your a mehtod to this in dialog itself. Specify the WS_VSROLL style fo the dislog that you added to tab Create another dialog as the child of the dialog that you add to tab control. you should put all the control in the second dialog. So when use clicks on the scroll button, just move the innner dialog up or down specify the WS_VSROLL style if you want to scroll dialog horizontally use Setscrollinfo funtion in the begining to set the scroll bar sizes
nave
Hello Friends, I also want to use Form view in a Tab Control. My problem is we have developed the code using From view. And used menu bar for different screens. Now we got a requirement form client tht they want Tab Controls instead of Menus.. I tried many things but its not working.. Can u tell me whether we can add form view in a Tab Control or not???? Megha
-
Hello Friends, I also want to use Form view in a Tab Control. My problem is we have developed the code using From view. And used menu bar for different screens. Now we got a requirement form client tht they want Tab Controls instead of Menus.. I tried many things but its not working.. Can u tell me whether we can add form view in a Tab Control or not???? Megha
-
ok..I will suggest your a mehtod to this in dialog itself. Specify the WS_VSROLL style fo the dislog that you added to tab Create another dialog as the child of the dialog that you add to tab control. you should put all the control in the second dialog. So when use clicks on the scroll button, just move the innner dialog up or down specify the WS_VSROLL style if you want to scroll dialog horizontally use Setscrollinfo funtion in the begining to set the scroll bar sizes
nave
thanks for the suggestion.... I have a doubt ..which dialog will be shown to the user initially --the dialog having the scroll bar or the child dialog having all the controls. If it is the dialog having the vertical scroll bar then the controls will not be shown to the user until the sroll bar is clicked
-
yes,the dialog size should be increased dynamically.
-
thanks for the suggestion.... I have a doubt ..which dialog will be shown to the user initially --the dialog having the scroll bar or the child dialog having all the controls. If it is the dialog having the vertical scroll bar then the controls will not be shown to the user until the sroll bar is clicked
-
thanks for the suggestion.... I have a doubt ..which dialog will be shown to the user initially --the dialog having the scroll bar or the child dialog having all the controls. If it is the dialog having the vertical scroll bar then the controls will not be shown to the user until the sroll bar is clicked
both dialog :) assume --outer dialog is the dialog having the the scroll bar style --innner dialog have the controls You can create the innner dialog from the OnInitdialog function of the outer dialog. Also you must set the SetScrollinfo of the outerdialog from this funtion it self. you must process the WM_HSCROLL and WM_VSCROLL messages and move the inner dialog from this functions.
nave
-
you can set which tab should be the default dialog like setDefaultPage(0); if that is there in ur code
guys please answer my query.. really in need of help
-
both dialog :) assume --outer dialog is the dialog having the the scroll bar style --innner dialog have the controls You can create the innner dialog from the OnInitdialog function of the outer dialog. Also you must set the SetScrollinfo of the outerdialog from this funtion it self. you must process the WM_HSCROLL and WM_VSCROLL messages and move the inner dialog from this functions.
nave
thank u guys.... i ll try this out
-
guys please answer my query.. really in need of help
-
guys please answer my query.. really in need of help