Click here to Skip to main content
15,896,366 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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.
AnswerRe: scroll bar for a group-box control. Pin
Rajesh R Subramanian24-Oct-08 0:00
professionalRajesh R Subramanian24-Oct-08 0:00 
GeneralRe: scroll bar for a group-box control. Pin
gayatri.neelema24-Oct-08 0:36
gayatri.neelema24-Oct-08 0:36 
GeneralRe: scroll bar for a group-box control. Pin
Iain Clarke, Warrior Programmer24-Oct-08 0:50
Iain Clarke, Warrior Programmer24-Oct-08 0:50 
GeneralRe: scroll bar for a group-box control. Pin
Rajesh R Subramanian24-Oct-08 1:50
professionalRajesh R Subramanian24-Oct-08 1:50 
AnswerRe: scroll bar for a group-box control. Pin
MANISH RASTOGI24-Oct-08 0:56
MANISH RASTOGI24-Oct-08 0:56 
QuestionDialogBox Positioning problem Pin
Dhiraj kumar Saini23-Oct-08 21:38
Dhiraj kumar Saini23-Oct-08 21:38 
AnswerRe: DialogBox Positioning problem Pin
CPallini23-Oct-08 22:10
mveCPallini23-Oct-08 22:10 
GeneralRe: DialogBox Positioning problem Pin
Dhiraj kumar Saini23-Oct-08 22:52
Dhiraj kumar Saini23-Oct-08 22:52 
GeneralRe: DialogBox Positioning problem Pin
Rajesh R Subramanian23-Oct-08 23:13
professionalRajesh R Subramanian23-Oct-08 23:13 
GeneralRe: DialogBox Positioning problem Pin
CPallini23-Oct-08 23:30
mveCPallini23-Oct-08 23:30 
Questionplease help me! "Unhandled exception in **.exe (user32.dll) : 0xC0000005: Access Violation." Pin
kaviniswell23-Oct-08 21:28
kaviniswell23-Oct-08 21:28 
AnswerRe: please help me! "Unhandled exception in **.exe (user32.dll) : 0xC0000005: Access Violation." Pin
Cedric Moonen23-Oct-08 21:34
Cedric Moonen23-Oct-08 21:34 
GeneralRe: please help me! "Unhandled exception in **.exe (user32.dll) : 0xC0000005: Access Violation." Pin
kaviniswell23-Oct-08 21:42
kaviniswell23-Oct-08 21:42 
GeneralRe: please help me! "Unhandled exception in **.exe (user32.dll) : 0xC0000005: Access Violation." Pin
Cedric Moonen23-Oct-08 21:48
Cedric Moonen23-Oct-08 21:48 
GeneralRe: please help me! "Unhandled exception in **.exe (user32.dll) : 0xC0000005: Access Violation." Pin
kaviniswell23-Oct-08 21:57
kaviniswell23-Oct-08 21:57 
GeneralRe: please help me! "Unhandled exception in **.exe (user32.dll) : 0xC0000005: Access Violation." Pin
Cedric Moonen23-Oct-08 22:05
Cedric Moonen23-Oct-08 22:05 
GeneralRe: please help me! "Unhandled exception in **.exe (user32.dll) : 0xC0000005: Access Violation." Pin
kaviniswell23-Oct-08 22:24
kaviniswell23-Oct-08 22:24 

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.