????? dialog - scrolling ?????????????????? 
Author Message
 ????? dialog - scrolling ??????????????????

Hello there

I have following problem:
I created a dialog with "CreateDialog" and drew an viewobject with
"pIViewObject2->Draw" on it. My intention is to scroll in this dialog
box. Also, I have defined the vertical and horizontal scrolling bar.
Both I can see if I start the application but they doesn't work as I
assumed.
Does anybody know where the problem could be????

Thanks for every hint in this matter.


For more details see the code fragment:

// create a about dialog box
 hWnd=CreateDialog(m_pFR->GetHInstance(),MAKEINTRESOURCE(IDD_ABOUT),
                                  m_hWnd, (DLGPROC)AboutProc);

 // get device context from the created dialog box
 hDC = ::GetDC(hWnd);

 // get rectangle of the parent window
 hr = ::GetClientRect(m_hWnd, (LPRECT)rect);

 LPVIEWOBJECT pIViewObject2;
 if (NULL!=m_pObj)
 {
      hr = m_pObj->QueryInterface(IID_IViewObject2, (VOID
**)&pIViewObject2);
      if (SUCCEEDED(hr))
      {
           // write object on the created about box
           hr = pIViewObject2->Draw(dwAspect, -1, NULL, NULL, 0, hDC,
rect, NULL, NULL, 0);
           pIViewObject2->Release();
       }
  }



Fri, 15 Jun 2001 03:00:00 GMT  
 ????? dialog - scrolling ??????????????????


Fri, 19 Jun 1992 00:00:00 GMT  
 ????? dialog - scrolling ??????????????????
Hi, all,

I am planning to write a program that can be arose when system clock was
changed. Does anyone have some idea about it?

Thanks



Sun, 17 Jun 2001 03:00:00 GMT  
 ????? dialog - scrolling ??????????????????

Quote:
>Hi, all,

>I am planning to write a program that can be arose when system clock was
>changed. Does anyone have some idea about it?

I don't believe that there is a general way to receive a notification when
the system time is modified.

If you're using the date-time picker control, I know that it does send a
notification when you change the system time through it.



Sun, 17 Jun 2001 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Scrolling issues in modeless dialog

2. Scrolling in a Dialog

3. Scrolling in a dialog

4. a Scroll 'n' zoom in Dialog

5. Scrolling problems with CEdit - Multiline on a dialog

6. Dynamic Dialog Controls/Scrolling -- MSVC1.52

7. Scrolling for a Dialog?

8. scroll bar using dialog

9. Programmatically scroll CEdit in a dialog?

10. Drawing in dialog Box and scroll problem

11. How to scroll dialog content

12. Scrolling a Dialog box

 

 
Powered by phpBB® Forum Software