Click here to Skip to main content
15,895,256 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralAdding tabs to a CTabCrtl Pin
monrobot1330-Sep-02 16:30
monrobot1330-Sep-02 16:30 
GeneralRe: Adding tabs to a CTabCrtl Pin
Ravi Bhavnani30-Sep-02 17:07
professionalRavi Bhavnani30-Sep-02 17:07 
GeneralRe: Adding tabs to a CTabCrtl Pin
Daniel Strigl30-Sep-02 19:58
Daniel Strigl30-Sep-02 19:58 
GeneralRe: Adding tabs to a CTabCrtl Pin
Michael P Butler30-Sep-02 22:08
Michael P Butler30-Sep-02 22:08 
GeneralRe: Adding tabs to a CTabCrtl Pin
Ravi Bhavnani1-Oct-02 4:42
professionalRavi Bhavnani1-Oct-02 4:42 
GeneralRe: Adding tabs to a CTabCrtl Pin
Ravi Bhavnani1-Oct-02 7:24
professionalRavi Bhavnani1-Oct-02 7:24 
GeneralRe: Adding tabs to a CTabCrtl Pin
monrobot131-Oct-02 12:36
monrobot131-Oct-02 12:36 
GeneralRe: Adding tabs to a CTabCrtl Pin
Ravi Bhavnani1-Oct-02 17:03
professionalRavi Bhavnani1-Oct-02 17:03 
FRAME_TAB_DIALOG is just a static frame control I use to position the modeless dialogs. Because the control's visible style is "false", it doesn't interfere with the display but yet gives me a good idea of where the modeless dialogs will appear when I'm in the resource editor.

monrobot13 wrote:
is getting a pointer better than using a member variable?
No - actually what I'm doing is slightly more inefficient. Imho, it's better to relate a member variable (of class CTabCtrl) with the tab control rather than calling GetDlgItem() and doing the cast. It's just a habit. A bad one. Smile | :)

/ravi

Let's put "civil" back in "civilization"
http://www.ravib.com
ravib@ravib.com
GeneralRe: Adding tabs to a CTabCrtl Pin
monrobot132-Oct-02 13:24
monrobot132-Oct-02 13:24 
GeneralRe: Adding tabs to a CTabCrtl Pin
Ravi Bhavnani2-Oct-02 13:27
professionalRavi Bhavnani2-Oct-02 13:27 
GeneralRe: Adding tabs to a CTabCrtl Pin
monrobot133-Oct-02 13:23
monrobot133-Oct-02 13:23 
GeneralRe: Adding tabs to a CTabCrtl Pin
monrobot133-Oct-02 13:35
monrobot133-Oct-02 13:35 
GeneralRe: Adding tabs to a CTabCrtl Pin
Ravi Bhavnani3-Oct-02 15:24
professionalRavi Bhavnani3-Oct-02 15:24 
GeneralRe: Adding tabs to a CTabCrtl Pin
monrobot135-Oct-02 8:38
monrobot135-Oct-02 8:38 
GeneralRe: Adding tabs to a CTabCrtl Pin
Ravi Bhavnani5-Oct-02 8:41
professionalRavi Bhavnani5-Oct-02 8:41 
GeneralRe: Adding tabs to a CTabCrtl Pin
Daniel Strigl2-Oct-02 10:40
Daniel Strigl2-Oct-02 10:40 
GeneralRe: Adding tabs to a CTabCrtl Pin
Ravi Bhavnani2-Oct-02 10:54
professionalRavi Bhavnani2-Oct-02 10:54 
GeneralRe: Adding tabs to a CTabCrtl Pin
Daniel Strigl2-Oct-02 19:17
Daniel Strigl2-Oct-02 19:17 
GeneralRe: Adding tabs to a CTabCrtl Pin
Ravi Bhavnani3-Oct-02 5:01
professionalRavi Bhavnani3-Oct-02 5:01 
Questionwhy i print out nothing? Pin
wangnanjing30-Sep-02 16:25
wangnanjing30-Sep-02 16:25 
AnswerRe: why i print out nothing? Pin
Chris Losinger30-Sep-02 16:27
professionalChris Losinger30-Sep-02 16:27 
GeneralPointer Elements & STL Containers :: STL Pin
valikac30-Sep-02 15:53
valikac30-Sep-02 15:53 
GeneralRe: Pointer Elements & STL Containers :: STL Pin
Chris Losinger30-Sep-02 16:24
professionalChris Losinger30-Sep-02 16:24 
GeneralRe: Pointer Elements & STL Containers :: STL Pin
RedZenBird30-Sep-02 17:46
RedZenBird30-Sep-02 17:46 
GeneralRe: Pointer Elements & STL Containers :: STL Pin
valikac30-Sep-02 18:00
valikac30-Sep-02 18:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.