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

C / C++ / MFC

 
AnswerRe: CListCtrl such problem under windows XP Pin
fantasy121524-Oct-08 7:25
fantasy121524-Oct-08 7:25 
QuestionRe: CListCtrl such problem under windows XP Pin
David Crow24-Oct-08 7:30
David Crow24-Oct-08 7:30 
AnswerRe: CListCtrl such problem under windows XP [modified] Pin
Rolf Kristensen24-Oct-08 13:55
Rolf Kristensen24-Oct-08 13:55 
GeneralRe: CListCtrl such problem under windows XP Pin
fantasy121525-Oct-08 17:59
fantasy121525-Oct-08 17:59 
GeneralRe: CListCtrl such problem under windows XP Pin
Rolf Kristensen27-Oct-08 11:55
Rolf Kristensen27-Oct-08 11:55 
QuestionSHBrowseForFolder is slow sometimes Pin
bob1697224-Oct-08 4:03
bob1697224-Oct-08 4:03 
Question"SHFILEOPSTRUCT" syntex create problem [modified] Pin
m_mun24-Oct-08 3:20
m_mun24-Oct-08 3:20 
AnswerRe: "SHFILEOPSTRUCT" syntex create problem Pin
SandipG 24-Oct-08 3:29
SandipG 24-Oct-08 3:29 
QuestionRe: "SHFILEOPSTRUCT" syntex create problem Pin
David Crow24-Oct-08 5:09
David Crow24-Oct-08 5:09 
QuestionProblem with stl map Pin
Laan8224-Oct-08 1:43
Laan8224-Oct-08 1:43 
AnswerRe: Problem with stl map Pin
led mike24-Oct-08 4:37
led mike24-Oct-08 4:37 
GeneralRe: Problem with stl map Pin
jeron124-Oct-08 4:47
jeron124-Oct-08 4:47 
GeneralRe: Problem with stl map Pin
David Crow24-Oct-08 5:12
David Crow24-Oct-08 5:12 
GeneralRe: Problem with stl map Pin
led mike24-Oct-08 6:10
led mike24-Oct-08 6:10 
QuestionInstalled products in Windows Pin
Krishnakumartg24-Oct-08 0:54
Krishnakumartg24-Oct-08 0:54 
AnswerRe: Installed products in Windows Pin
Phil J Pearson24-Oct-08 1:10
Phil J Pearson24-Oct-08 1:10 
GeneralRe: Installed products in Windows Pin
Krishnakumartg24-Oct-08 1:14
Krishnakumartg24-Oct-08 1:14 
GeneralRe: Installed products in Windows Pin
Rajesh R Subramanian24-Oct-08 1:39
professionalRajesh R Subramanian24-Oct-08 1:39 
GeneralRe: Installed products in Windows Pin
Rajesh R Subramanian24-Oct-08 1:43
professionalRajesh R Subramanian24-Oct-08 1:43 
GeneralRe: Installed products in Windows Pin
Phil J Pearson24-Oct-08 2:11
Phil J Pearson24-Oct-08 2:11 
AnswerRe: Installed products in Windows Pin
David Crow24-Oct-08 5:13
David Crow24-Oct-08 5:13 
QuestionHow to know whether a handle is opened or colsed ? Pin
kapardhi23-Oct-08 22:46
kapardhi23-Oct-08 22:46 
AnswerRe: How to know whether a handle is opened or colsed ? Pin
Cedric Moonen23-Oct-08 22:53
Cedric Moonen23-Oct-08 22:53 
Questionscroll bar for a group-box control. Pin
gayatri.neelema23-Oct-08 22:10
gayatri.neelema23-Oct-08 22:10 
AnswerRe: scroll bar for a group-box control. Pin
Iain Clarke, Warrior Programmer23-Oct-08 23:50
Iain Clarke, Warrior Programmer23-Oct-08 23:50 
What I've done in the past is a bit complex, but a lot simpler than wiring up an HTML control - especially in Win32.

1/ Make a big overall window. Maybe a dialog box... The choice is up to you.

2/ Place a group control on it. This is just decoration.

3/ Place a vertical scroll bar next to, or just inside the right edge of the group box.

4/ Handle messages from WM_VSCROLL in your parent (eg) dialog.

5/ Create a child window taking up most of the space inside the group control. We'll call it PaneParent. This is blank, and does nething interesting except...

6/ Create a child window (call it Pane) inside the above child window. This Pane can be very large, and was also a modeless dialog box (with the WS_CHILD style set).

7/ When the scroll bar is used, move the Pane window about inside PaneParent. PaneParent will clip the Pane, so you only see a part of it.

Caveats - you'll also want the CONTROL and CONTROLPARENT styles set, to help the TABbing about.

None of this is easy, but it's OK if you break it into simpler bits. Make a dummy dialog with "I'm the top!", "I'm the middle!" and so on static controls on it until you have things working a bit more. But it's still easier than handling callback interfaces from an embedded browser control...


Iain.

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.