Click here to Skip to main content
15,893,508 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Handling the device change functionality for HID Devices Pin
Sarath C2-Feb-09 18:28
Sarath C2-Feb-09 18:28 
AnswerRe: Handling the device change functionality for HID Devices Pin
john.alex.prog14-Feb-10 8:37
john.alex.prog14-Feb-10 8:37 
AnswerRe: Handling the device change functionality for HID Devices Pin
john.alex.prog14-Feb-10 8:41
john.alex.prog14-Feb-10 8:41 
GeneralRe: Handling the device change functionality for HID Devices Pin
hariakuthota14-Feb-10 17:32
hariakuthota14-Feb-10 17:32 
GeneralRe: Handling the device change functionality for HID Devices Pin
john.alex.prog14-Feb-10 19:01
john.alex.prog14-Feb-10 19:01 
GeneralRe: Handling the device change functionality for HID Devices Pin
hariakuthota14-Feb-10 19:10
hariakuthota14-Feb-10 19:10 
GeneralRe: Handling the device change functionality for HID Devices Pin
john.alex.prog15-Feb-10 4:14
john.alex.prog15-Feb-10 4:14 
Questionhow to disable vertical and horizontal scrollbar in a FormView class Pin
Deepu Antony2-Feb-09 18:05
Deepu Antony2-Feb-09 18:05 
Hi

I am using a multidocument application.


CMultiDocTemplate* pDocTemplate_Digi;
pDocTemplate_Digi = new CMultiDocTemplate(
IDR_DIGITAL,
RUNTIME_CLASS(CDDRUDoc),
RUNTIME_CLASS(CChildFrame), // custom MDI child frame
RUNTIME_CLASS(CSuperGrid1View));

my view CSuperGrid1View is inherited from CFormview.
I want to disable the scroll bars that is coming default in my view.

BOOL CChildFrame::PreCreateWindow(CREATESTRUCT& cs)
{
// TODO: Modify the Window class or styles here by modifying
// the CREATESTRUCT cs]

cs.style &= ~WS_EX_RIGHTSCROLLBAR;
cs.style &= ~WS_EX_LEFTSCROLLBAR ;

if( !CMDIChildWnd::PreCreateWindow(cs) )
return FALSE;

return TRUE;

}

I did the same in CSuperGrid1View::PreCreateWindow(..)

But it is not disabling.Can anybody help me please.

Regards
Deepu
AnswerRe: how to disable vertical and horizontal scrollbar in a FormView class Pin
Roger Allen4-Feb-09 14:07
Roger Allen4-Feb-09 14:07 
QuestionHow can chk Dialog box is open? Pin
Le@rner2-Feb-09 17:54
Le@rner2-Feb-09 17:54 
AnswerRe: How can chk Dialog box is open? Pin
Nibu babu thomas2-Feb-09 18:00
Nibu babu thomas2-Feb-09 18:00 
GeneralRe: How can chk Dialog box is open? Pin
Le@rner2-Feb-09 18:15
Le@rner2-Feb-09 18:15 
GeneralRe: How can chk Dialog box is open? Pin
Nibu babu thomas2-Feb-09 18:16
Nibu babu thomas2-Feb-09 18:16 
GeneralRe: How can chk Dialog box is open? Pin
Le@rner2-Feb-09 18:21
Le@rner2-Feb-09 18:21 
GeneralRe: How can chk Dialog box is open? Pin
Nibu babu thomas2-Feb-09 18:38
Nibu babu thomas2-Feb-09 18:38 
GeneralRe: How can chk Dialog box is open? Pin
Le@rner2-Feb-09 18:49
Le@rner2-Feb-09 18:49 
GeneralRe: How can chk Dialog box is open? Pin
SandipG 2-Feb-09 19:29
SandipG 2-Feb-09 19:29 
AnswerRe: How can chk Dialog box is open? Pin
Sarath C2-Feb-09 18:20
Sarath C2-Feb-09 18:20 
AnswerRe: How can chk Dialog box is open? Pin
_AnsHUMAN_ 2-Feb-09 18:30
_AnsHUMAN_ 2-Feb-09 18:30 
GeneralRe: How can chk Dialog box is open? [modified] Pin
Le@rner2-Feb-09 18:32
Le@rner2-Feb-09 18:32 
GeneralRe: How can chk Dialog box is open? Pin
_AnsHUMAN_ 2-Feb-09 19:29
_AnsHUMAN_ 2-Feb-09 19:29 
QuestionINI FILE in vc++6 Pin
hrishiS2-Feb-09 17:05
hrishiS2-Feb-09 17:05 
AnswerRe: INI FILE in vc++6 Pin
Sarath C2-Feb-09 18:16
Sarath C2-Feb-09 18:16 
GeneralRe: INI FILE in vc++6 Pin
hrishiS2-Feb-09 18:19
hrishiS2-Feb-09 18:19 
AnswerRe: INI FILE in vc++6 Pin
aks.2-Feb-09 18:47
aks.2-Feb-09 18:47 

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.