Click here to Skip to main content
15,881,882 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Owner draw combobox problem Pin
gajendrakashyap12-Dec-06 3:00
gajendrakashyap12-Dec-06 3:00 
AnswerRe: Owner draw combobox problem Pin
prasad_som12-Dec-06 3:19
prasad_som12-Dec-06 3:19 
QuestionRe: Owner draw combobox problem Pin
gajendrakashyap12-Dec-06 3:36
gajendrakashyap12-Dec-06 3:36 
AnswerRe: Owner draw combobox problem Pin
Hamid_RT11-Dec-06 23:35
Hamid_RT11-Dec-06 23:35 
GeneralRe: Owner draw combobox problem Pin
gajendrakashyap11-Dec-06 23:50
gajendrakashyap11-Dec-06 23:50 
GeneralRe: Owner draw combobox problem Pin
Hamid_RT12-Dec-06 18:32
Hamid_RT12-Dec-06 18:32 
GeneralRe: Owner draw combobox problem Pin
gajendrakashyap12-Dec-06 19:33
gajendrakashyap12-Dec-06 19:33 
QuestionProblem in creating a property sheet and property pages Pin
Manjunath S11-Dec-06 22:38
Manjunath S11-Dec-06 22:38 
Dear all,
Currently i am working in creating a property sheet inside a dialog and i am also working in creating a property sheet inside a property page.
There is no problem in creating such a sheet and property pages inside a dialog.

But the problem comes in positioning the property sheet tab controls in right side of the dailog and in vertical positions and to add some images in tab control.

I have used this code to set icons in the tab controls.But it is not working.
CImageList m_imageTab;

m_imageTab.Create(16,16,0,3,3);
m_imageTab.Add(AfxGetApp()->LoadIcon(IDI_ICON1));
m_imageTab.Add(AfxGetApp()->LoadIcon(IDI_ICON2));
m_imageTab.Add(AfxGetApp()->LoadIcon(IDI_ICON3));

CTabCtrl *pTab = internal_sheet.GetTabControl();
pTab->SetImageList(&m_imageTab);

TC_ITEM tcItem;
tcItem.mask = TCIF_IMAGE;
for(int i = 0; i < 3; i++ )
{
tcItem.iImage = i;
pTab->SetItem( i, &tcItem );
}

// I used this member function to set the tab control vertical and i aslo tried the differnt combination of styles.but in vain
internal_sheet.GetTabControl()->ModifyStyle(0,TCS_VERTICAL);


Please some body help me to short out this problem.
:->

Manjunath S
GESL
Bangalore

Questionlinker problems Pin
eddyroth11-Dec-06 22:05
eddyroth11-Dec-06 22:05 
QuestionHelp! Need Info on file transfer mechanism with resume download option. Pin
Sandeep Datta11-Dec-06 21:37
Sandeep Datta11-Dec-06 21:37 
AnswerRe: Help! Need Info on file transfer mechanism with resume download option. Pin
S Douglas11-Dec-06 22:10
professionalS Douglas11-Dec-06 22:10 
GeneralRe: Help! Need Info on file transfer mechanism with resume download option. Pin
Sandeep Datta12-Dec-06 1:48
Sandeep Datta12-Dec-06 1:48 
GeneralRe: Help! Need Info on file transfer mechanism with resume download option. Pin
S Douglas12-Dec-06 2:24
professionalS Douglas12-Dec-06 2:24 
QuestionContext help property of a dialog box Pin
zareee11-Dec-06 21:34
zareee11-Dec-06 21:34 
AnswerRe: Context help property of a dialog box Pin
prasad_som11-Dec-06 22:06
prasad_som11-Dec-06 22:06 
GeneralRe: Context help property of a dialog box Pin
zareee11-Dec-06 23:38
zareee11-Dec-06 23:38 
GeneralRe: Context help property of a dialog box Pin
prasad_som12-Dec-06 0:02
prasad_som12-Dec-06 0:02 
GeneralRe: Context help property of a dialog box Pin
Sam Hobbs12-Dec-06 15:47
Sam Hobbs12-Dec-06 15:47 
QuestionSingle CreateDevice() for multiple views? Pin
rp_suman11-Dec-06 21:11
rp_suman11-Dec-06 21:11 
AnswerRe: Single CreateDevice() for multiple views? Pin
prasad_som11-Dec-06 21:44
prasad_som11-Dec-06 21:44 
GeneralRe: Single CreateDevice() for multiple views? Pin
rp_suman11-Dec-06 22:12
rp_suman11-Dec-06 22:12 
GeneralRe: Single CreateDevice() for multiple views? Pin
rp_suman12-Dec-06 22:06
rp_suman12-Dec-06 22:06 
QuestionRe: Single CreateDevice() for multiple views? Pin
prasad_som12-Dec-06 22:12
prasad_som12-Dec-06 22:12 
AnswerRe: Single CreateDevice() for multiple views? Pin
rp_suman13-Dec-06 12:56
rp_suman13-Dec-06 12:56 
QuestionUpgraded to msjet 4.0 (dao) and now the app crash Pin
Anders Hornemann11-Dec-06 21:07
Anders Hornemann11-Dec-06 21:07 

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.