Click here to Skip to main content
15,913,308 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionLoading bitmap on Combo control Pin
naveen27gupta25-Jun-07 23:20
naveen27gupta25-Jun-07 23:20 
AnswerRe: Loading bitmap on Combo control Pin
Iain Clarke, Warrior Programmer25-Jun-07 23:44
Iain Clarke, Warrior Programmer25-Jun-07 23:44 
AnswerRe: Loading bitmap on Combo control Pin
naveen27gupta26-Jun-07 0:52
naveen27gupta26-Jun-07 0:52 
GeneralRe: Loading bitmap on Combo control Pin
Iain Clarke, Warrior Programmer26-Jun-07 1:28
Iain Clarke, Warrior Programmer26-Jun-07 1:28 
GeneralRe: Loading bitmap on Combo control Pin
naveen27gupta26-Jun-07 2:47
naveen27gupta26-Jun-07 2:47 
GeneralRe: Loading bitmap on Combo control Pin
Iain Clarke, Warrior Programmer26-Jun-07 3:11
Iain Clarke, Warrior Programmer26-Jun-07 3:11 
AnswerRe: Loading bitmap on Combo control Pin
Mark Salsbery26-Jun-07 6:42
Mark Salsbery26-Jun-07 6:42 
QuestionCTreeCtrl::EnsureVisible() -- failed to show selected item. Pin
brakeshbaldhab25-Jun-07 23:13
brakeshbaldhab25-Jun-07 23:13 
Hi,

I tried below code to visible tree control item; I have derived my class from CTreeCtrl.


if (stricmp(SelectStr.c_str(), CompareStr.c_str()) == 0) {
SelectItem(hItem);
EnsureVisible(hItem);
}

In spite of the code calling EnsureVisible on the tree ctrl, the selected node remains hidden under the horz. Scrollbar. You have to click the down arrow on the vert. scrollbar exactly once to see the (pre)selection.

This problem is only when I have horz. Scrollbar on my tree control.

Even I tried this one also,
//HTREEITEM htreeItm = GetFirstVisibleItem();
//if( EnsureVisible(htreeItm)){
// int cool = 0;
// cool = 1;
//}

But it’s returns false when I have horz. Scrollbar.


Can anybody please help me?

Thanks,
Rakesh.


QuestionSet cursor to hourglass before window appears Pin
MeniB25-Jun-07 22:37
MeniB25-Jun-07 22:37 
AnswerRe: Set cursor to hourglass before window appears Pin
KaЯl25-Jun-07 22:44
KaЯl25-Jun-07 22:44 
GeneralRe: Set cursor to hourglass before window appears Pin
MeniB25-Jun-07 22:48
MeniB25-Jun-07 22:48 
GeneralRe: Set cursor to hourglass before window appears Pin
KaЯl25-Jun-07 23:03
KaЯl25-Jun-07 23:03 
QuestionNo, the problem is catching messages while my window is invisible Pin
MeniB25-Jun-07 23:34
MeniB25-Jun-07 23:34 
AnswerRe: Set cursor to hourglass before window appears Pin
Rajkumar R25-Jun-07 23:25
Rajkumar R25-Jun-07 23:25 
QuestionRe: Set cursor to hourglass before window appears Pin
MeniB25-Jun-07 23:40
MeniB25-Jun-07 23:40 
AnswerRe: Set cursor to hourglass before window appears Pin
Iain Clarke, Warrior Programmer25-Jun-07 23:54
Iain Clarke, Warrior Programmer25-Jun-07 23:54 
AnswerRe: Set cursor to hourglass before window appears Pin
Rajkumar R26-Jun-07 0:14
Rajkumar R26-Jun-07 0:14 
AnswerThis will work Pin
sudheee26-Jun-07 1:14
sudheee26-Jun-07 1:14 
QuestionProject Settings etc. Pin
ldsdbomber25-Jun-07 22:20
ldsdbomber25-Jun-07 22:20 
AnswerRe: Project Settings etc. Pin
_AnsHUMAN_ 25-Jun-07 22:22
_AnsHUMAN_ 25-Jun-07 22:22 
JokeRe: Project Settings etc. Pin
Cedric Moonen25-Jun-07 22:48
Cedric Moonen25-Jun-07 22:48 
QuestionSocket creatinon in debug mode Pin
Zoltan Balazs25-Jun-07 22:14
Zoltan Balazs25-Jun-07 22:14 
AnswerRe: Socket creatinon in debug mode Pin
Mark Salsbery26-Jun-07 6:48
Mark Salsbery26-Jun-07 6:48 
GeneralRe: Socket creatinon in debug mode Pin
Zoltan Balazs26-Jun-07 7:15
Zoltan Balazs26-Jun-07 7:15 
GeneralRe: Socket creatinon in debug mode Pin
Mark Salsbery26-Jun-07 7:23
Mark Salsbery26-Jun-07 7:23 

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.