<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How build a large (and scrollable) Dialog Box? in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/How-build-a-large-and-scrollable-Dialog-Box/m-p/981248#M26165</link>
    <description>I'm afraid I don't have the knowlege to program scroll bars in WIN32 yet.  I'll probably have to take a class.  So, is there a way to create a dialog box that is 2 to 4 screens long? and that automatically handles the scroll bars?  Jill</description>
    <pubDate>Wed, 23 Jan 2002 04:20:38 GMT</pubDate>
    <dc:creator>jschomaker</dc:creator>
    <dc:date>2002-01-23T04:20:38Z</dc:date>
    <item>
      <title>How build a large (and scrollable) Dialog Box?</title>
      <link>https://community.intel.com/t5/Software-Archive/How-build-a-large-and-scrollable-Dialog-Box/m-p/981245#M26162</link>
      <description>I'm trying to create one huge "window" or dialog box that has lots of questions (sort of like a questionnaire) where the user can answer the questions, scroll up, scroll down, go back and change answers, then hit an "ok" button when they're all done.  I don't want a bunch of separate windows, I just want one huge window.  When I create a dialog box, I haven't been able to dictate the size but I've been able to put vertical and horizontal scroll bars on my dialg box.  When I run the application and make the dialog box very samll so you can't see all of the edit boxex, the scrolling does not work.  Help.  Thanks.  Jill</description>
      <pubDate>Sat, 19 Jan 2002 05:22:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/How-build-a-large-and-scrollable-Dialog-Box/m-p/981245#M26162</guid>
      <dc:creator>jschomaker</dc:creator>
      <dc:date>2002-01-19T05:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: How build a large (and scrollable) Dialog Box?</title>
      <link>https://community.intel.com/t5/Software-Archive/How-build-a-large-and-scrollable-Dialog-Box/m-p/981246#M26163</link>
      <description>It's not clear from your letter - which type of application you try to create - Dialog or Win32? For Win32 applications you must remember, that scrollbars are control elements only and no more... You must program the respective actions for these controls manually. From my side of view, your algorithm could be the next: &lt;BR /&gt;1.Create all necessary controls, using CreateWindow(Ex) function ( because, if your window is "huge", then you're not able to create them in Resource Editor). &lt;BR /&gt;2."Keep in mind"  positions of all controls &lt;BR /&gt;3.Detect the visible group of controls &lt;BR /&gt;4.Programming the scrollbars actions/events, use MoveWindow function, to make the next group of controls visible/hidden. &lt;BR /&gt; &lt;BR /&gt;Hope this helps, &lt;BR /&gt; &lt;BR /&gt;Vladimir V.Vasilchenko &lt;BR /&gt; &lt;BR /&gt;&lt;A href="http://www.donpac.ru/usr/golub/fortran/" target="_blank"&gt;http://www.donpac.ru/usr/golub/fortran/&lt;/A&gt; &lt;BR /&gt; &lt;BR /&gt;&lt;A href="http://fortran-windows.tripod.com" target="_blank"&gt;http://fortran-windows.tripod.com&lt;/A&gt;</description>
      <pubDate>Mon, 21 Jan 2002 12:44:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/How-build-a-large-and-scrollable-Dialog-Box/m-p/981246#M26163</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2002-01-21T12:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: How build a large (and scrollable) Dialog Box?</title>
      <link>https://community.intel.com/t5/Software-Archive/How-build-a-large-and-scrollable-Dialog-Box/m-p/981247#M26164</link>
      <description>I'd just add that you could consider using a tabbed dialog instead, since it should be simpler to program (and, IMHO, simpler to use). As you can see from Vladimir's post, using a huge window with scrollbar is far from trivial. &lt;BR /&gt; &lt;BR /&gt;Jugoslav</description>
      <pubDate>Mon, 21 Jan 2002 21:07:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/How-build-a-large-and-scrollable-Dialog-Box/m-p/981247#M26164</guid>
      <dc:creator>Jugoslav_Dujic</dc:creator>
      <dc:date>2002-01-21T21:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: How build a large (and scrollable) Dialog Box?</title>
      <link>https://community.intel.com/t5/Software-Archive/How-build-a-large-and-scrollable-Dialog-Box/m-p/981248#M26165</link>
      <description>I'm afraid I don't have the knowlege to program scroll bars in WIN32 yet.  I'll probably have to take a class.  So, is there a way to create a dialog box that is 2 to 4 screens long? and that automatically handles the scroll bars?  Jill</description>
      <pubDate>Wed, 23 Jan 2002 04:20:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/How-build-a-large-and-scrollable-Dialog-Box/m-p/981248#M26165</guid>
      <dc:creator>jschomaker</dc:creator>
      <dc:date>2002-01-23T04:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: How build a large (and scrollable) Dialog Box?</title>
      <link>https://community.intel.com/t5/Software-Archive/How-build-a-large-and-scrollable-Dialog-Box/m-p/981249#M26166</link>
      <description>A simpler idea than Vladimir's just struck my mind -- an approach similar to tabbed dialog boxes. I'll try to explain it in short notes.&lt;BR /&gt; &lt;BR /&gt;First, create &lt;B&gt;two&lt;/B&gt; dialogs: one "master" (&lt;CODE&gt;Dlg&lt;/CODE&gt;), containing &lt;B&gt;only&lt;/B&gt; a scrollbar, and one huge "child" (&lt;CODE&gt;Child&lt;/CODE&gt;) containing everything else. Child should have style "child", no caption, no border. Also, variable Child should be global somehow: &lt;BR /&gt;&lt;PRE&gt; 
MODULE Mod1 
USE DFLOGM 
TYPE(Dialog):: Child 
CONTAINS... 
&lt;/PRE&gt; &lt;BR /&gt;In "main" routine initialize &lt;CODE&gt;Dlg&lt;/CODE&gt;. Create an initialization callback for &lt;CODE&gt;Dlg&lt;/CODE&gt;. Also, you can initialize and fill in controls in &lt;CODE&gt;Child&lt;/CODE&gt; there: &lt;BR /&gt;&lt;PRE&gt; 
SUBROUTINE MainDialog 
iSt = DlgInit(IDD_MASTER, Dlg) 
iSt = DlgInit(IDD_CHILD, Dlg) 
iSt = DlgSetSub(Dlg, IDD_MASTER, OnDlgInit) 
iSt = DlgSetSub(Dlg, IDD_SCROLLBAR, OnScroll) 
!Fill in child's contents here 
&lt;/PRE&gt; &lt;BR /&gt;Then, in OnDlgInit, do DlgModeless for the child dialog: &lt;BR /&gt;&lt;PRE&gt; 
SUBROUTINE OnDlgInit(Dlg, ID, iEvent) 
USE DFWIN 
TYPE (T_RECT):: Rect 
iSt = DlgModeless(Child, SW_SHOW, Dlg%hWnd) 
!Find height of child and adjust scrollbar's paramters 
iSt = GetWindowRect(Child%hWnd, Rect) 
iSt = DlgSet(Dlg, IDC_SCROLLBAR, Rect%Bottom-Rect%Top, DLG_RANGEMAX) 
END SUBROUTINE OnDlgInit 
&lt;/PRE&gt; &lt;BR /&gt;and in OnScroll, just move the Child using MoveWindow: &lt;BR /&gt;&lt;PRE&gt; 
SUBROUTINE OnScroll(Dlg, ID, iEvent) 
iSt = DlgGet(Dlg, IDC_SCROLLBAR, nPos, DLG_POSITION) 
iSt = GetWindowRect(Child%hWnd, Rect) 
iSt = MoveWindow(Child%hWnd, 0, -nPos, Rect%Right-Rect%Left, Rect%Bottom-Rect%Top) 
&lt;/PRE&gt; &lt;BR /&gt;As you can see, only APIs needed are GetWindowRect and MoveWindow (see docs, they're rather simple). A variation of the theme (as in your second post) is possible -- create, say, four child dialogs, do a DlgModeless for each, set scrollbar range to 1-4 and in OnScroll do a ShowWindow(SW_SHOW) for the corresponding child. &lt;BR /&gt; &lt;BR /&gt;HTH&lt;BR /&gt; &lt;BR /&gt;Jugoslav</description>
      <pubDate>Wed, 23 Jan 2002 19:46:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/How-build-a-large-and-scrollable-Dialog-Box/m-p/981249#M26166</guid>
      <dc:creator>Jugoslav_Dujic</dc:creator>
      <dc:date>2002-01-23T19:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: How build a large (and scrollable) Dialog Box?</title>
      <link>https://community.intel.com/t5/Software-Archive/How-build-a-large-and-scrollable-Dialog-Box/m-p/981250#M26167</link>
      <description>Small addendum:&lt;BR /&gt; &lt;BR /&gt;- Of course, &lt;CODE&gt;DlgModal&lt;/CODE&gt; has to be in MainDialog&lt;BR /&gt; &lt;BR /&gt;- Er, I forgot that Dlg has to be closed somehow and it has to have some "OK" and/or "Cancel" button. For the start, you could place them on the right side of Dlg. If you want them at the bottom, you'd have to carefully calculate arguments to MoveWindow(Child...) to clip the child accordingly. You could also take a look at GetClientRect()&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Jan 2002 20:34:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/How-build-a-large-and-scrollable-Dialog-Box/m-p/981250#M26167</guid>
      <dc:creator>Jugoslav_Dujic</dc:creator>
      <dc:date>2002-01-23T20:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: How build a large (and scrollable) Dialog Box?</title>
      <link>https://community.intel.com/t5/Software-Archive/How-build-a-large-and-scrollable-Dialog-Box/m-p/981251#M26168</link>
      <description>Jugoslav, &lt;BR /&gt;it seems to me, that "simpler" approach consists in using trivial scheme of any installations wizards. In practice it means - N dialog panels + using "Back","Next","Cancel" buttons + trivial external loop/block for the analysis of return code from each dialog panel... N-th panel will have  "Back", "Finish", "Cancel" buttons... &lt;BR /&gt; &lt;BR /&gt;Vladimir V.Vasilchenko &lt;BR /&gt; &lt;BR /&gt;Fortran Programmers Club &lt;BR /&gt; &lt;BR /&gt;&lt;A href="http://www.donpac.ru/usr/golub/fortran/" target="_blank"&gt;http://www.donpac.ru/usr/golub/fortran/&lt;/A&gt; &lt;BR /&gt; &lt;BR /&gt;&lt;A href="http://fortran-windows.tripod.com" target="_blank"&gt;http://fortran-windows.tripod.com&lt;/A&gt;</description>
      <pubDate>Wed, 23 Jan 2002 20:41:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/How-build-a-large-and-scrollable-Dialog-Box/m-p/981251#M26168</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2002-01-23T20:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: How build a large (and scrollable) Dialog Box?</title>
      <link>https://community.intel.com/t5/Software-Archive/How-build-a-large-and-scrollable-Dialog-Box/m-p/981252#M26169</link>
      <description>Sure it could; variations on the theme are indefinite. Personally, as a user, I dislike scrolling approach, since I get lost in a huge window. I'd prefer having information organized in groups somehow (tab control; a list control on the left or similar). Wizard-style you propose is also OK, but I prefer to keep it for tree-like data structures, where next screen depends on the choice in previous. I dislike wizards where info collected on each panel is totally unrelated with adjacent panels, since navigation with wizards is harder than with, say, tabs. But these are just my user's preferences. &lt;BR /&gt; &lt;BR /&gt;Btw, I'd suggest a very funny but educating site related with GUI design -- &lt;A href="http://www.iarchitect.com/mshame.htm" target="_blank"&gt;Interface Hall of Shame&lt;/A&gt;</description>
      <pubDate>Wed, 23 Jan 2002 21:29:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/How-build-a-large-and-scrollable-Dialog-Box/m-p/981252#M26169</guid>
      <dc:creator>Jugoslav_Dujic</dc:creator>
      <dc:date>2002-01-23T21:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: How build a large (and scrollable) Dialog Box?</title>
      <link>https://community.intel.com/t5/Software-Archive/How-build-a-large-and-scrollable-Dialog-Box/m-p/981253#M26170</link>
      <description>Thanks guys for your responses.  I think I'll try the tab approach and see how that works.  Jill.</description>
      <pubDate>Thu, 24 Jan 2002 03:50:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/How-build-a-large-and-scrollable-Dialog-Box/m-p/981253#M26170</guid>
      <dc:creator>jschomaker</dc:creator>
      <dc:date>2002-01-24T03:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: How build a large (and scrollable) Dialog Box?</title>
      <link>https://community.intel.com/t5/Software-Archive/How-build-a-large-and-scrollable-Dialog-Box/m-p/981254#M26171</link>
      <description>Hello, i have the same problem as jschomaker. I have modified my program, but it works still not. What can I do? Thanks &lt;BR /&gt;  integer*4 function WinMain( hInstance, hPrevInstance,  &lt;BR /&gt;     &amp;amp;	lpszCmdLine, nCmdShow ) &lt;BR /&gt;      !DEC$ IF DEFINED(_X86_) &lt;BR /&gt;      !DEC$ ATTRIBUTES STDCALL, ALIAS : '_WinMain@16' :: WinMain &lt;BR /&gt;      !DEC$ ELSE &lt;BR /&gt;      !DEC$ ATTRIBUTES STDCALL, ALIAS : 'WinMain' :: WinMain &lt;BR /&gt;      !DEC$ ENDIF &lt;BR /&gt;	!DEC$ ATTRIBUTES DLLEXPORT :: /X/ &lt;BR /&gt;	!COMMON /X/ &lt;BR /&gt; &lt;BR /&gt;      use dfwin &lt;BR /&gt;   use dflogm &lt;BR /&gt;      use Mod1 &lt;BR /&gt; &lt;BR /&gt;      implicit none &lt;BR /&gt; &lt;BR /&gt;      integer*4 hInstance &lt;BR /&gt;      integer*4 hPrevInstance &lt;BR /&gt;      integer*4 lpszCmdLine &lt;BR /&gt;      integer*4 nCmdShow &lt;BR /&gt;       &lt;BR /&gt;      include 'resource.fd' &lt;BR /&gt; &lt;BR /&gt;      external OnDialog &lt;BR /&gt;     external OnScroll &lt;BR /&gt;      type (T_MSG)            mesg &lt;BR /&gt;     type (T_RECT) :: Rect &lt;BR /&gt;    type (dialog) modaldlg &lt;BR /&gt;   type (dialog) dlg &lt;BR /&gt;      integer*4               ret &lt;BR /&gt;      integer*4               let &lt;BR /&gt;      logical*4               llet &lt;BR /&gt;            &lt;BR /&gt;      logical*4               lret &lt;BR /&gt;      logical                 retlog &lt;BR /&gt;       &lt;BR /&gt; &lt;BR /&gt;      ghInstance = hInstance &lt;BR /&gt;      ghModule = GetModuleHandle(NULL) &lt;BR /&gt;      ghwndMain = NULL &lt;BR /&gt; &lt;BR /&gt;      llet = DlgInit (IDD_DIALOG1, modaldlg) &lt;BR /&gt;	lret = DlgInit(IDC_MyDlg, dlg) &lt;BR /&gt;     lret = DlgSetSub(dlg, IDC_MyDlg, OnDialog) &lt;BR /&gt;      llet = DlgSetSub(modaldlg, IDD_DIALOG1, OnScroll) &lt;BR /&gt;    if (lret == .FALSE.) goto 99999 &lt;BR /&gt;do while( GetMessage (mesg, NULL, 0, 0) )  &lt;BR /&gt;       if ( DlgIsDlgMessage(mesg) .EQV. .FALSE. ) then &lt;BR /&gt;           lret = TranslateMessage( mesg ) &lt;BR /&gt;           ret  = DispatchMessage( mesg ) &lt;BR /&gt;       end if &lt;BR /&gt;      end do &lt;BR /&gt;       &lt;BR /&gt;      call DlgUninit(dlg) &lt;BR /&gt;  &lt;BR /&gt;	 &lt;BR /&gt; &lt;BR /&gt;      WinMain = mesg.wParam &lt;BR /&gt;      return &lt;BR /&gt;  &lt;BR /&gt;99999 ret = MessageBox(ghwndMain, "Error initializing application  &lt;BR /&gt;     +Eingabebutton"C,"Error"C, MB_OK) &lt;BR /&gt;      WinMain = 0 &lt;BR /&gt; &lt;BR /&gt;      end  &lt;BR /&gt;  SUBROUTINE OnDialog(dlg, id, callbacktype) &lt;BR /&gt; &lt;BR /&gt;	use dfwin &lt;BR /&gt;	use dflogm &lt;BR /&gt;	use Mod1 &lt;BR /&gt; &lt;BR /&gt;	implicit none &lt;BR /&gt; &lt;BR /&gt;	include 'resource.fd' &lt;BR /&gt; &lt;BR /&gt;	type (T_RECT) :: Rect &lt;BR /&gt;      type (dialog) dlg &lt;BR /&gt; &lt;BR /&gt;	integer id, callbacktype &lt;BR /&gt;	logical lret &lt;BR /&gt;       &lt;BR /&gt;	lret = DlgModeless (Child, SW_SHOW, Dlg%hWnd) &lt;BR /&gt;	lret = GetWindowRect (Child%hWnd, Rect) &lt;BR /&gt;	lret = DlgSet(Dlg, IDD_DIALOG1, Rect%Bottom-Rect%Top, DLG_RANGEMAX) &lt;BR /&gt;	if (callbacktype == dlg_destroy) then &lt;BR /&gt;	   call PostQuitMessage(0) &lt;BR /&gt;	endif &lt;BR /&gt; &lt;BR /&gt;    &lt;BR /&gt;	END SUBROUTINE OnDialog &lt;BR /&gt; &lt;BR /&gt;       SUBROUTINE OnScroll(Dlg, ID, iEvent) &lt;BR /&gt;	 use dfwin &lt;BR /&gt;	 use dflogm  &lt;BR /&gt;	 use Mod1 &lt;BR /&gt;	 type (dialog) modaldlg &lt;BR /&gt;	 type (T_RECT) :: Rect &lt;BR /&gt;	 logical llet &lt;BR /&gt;       let = DlgModal(modaldlg, hwndParent = 0) &lt;BR /&gt;  	 llet = DlgSet(modaldlg, IDD_SCROLLBAR, 212, DLG_RANGE)  &lt;BR /&gt;	 llet = DlgGet(modaldlg, IDD_SCROLLBAR, nPos, DLG_POSITION)   &lt;BR /&gt;       llet = GetWindowRect(Child%hWnd, Rect)   &lt;BR /&gt;       llet = MoveWindow(Child%hWnd, 0, 0, -nPos, Rect%Right-Rect%Left,  &lt;BR /&gt;     +Rect%Bottom-Rect%Top) &lt;BR /&gt;    call DlgUninit(modaldlg) &lt;BR /&gt;	 END SUBROUTINE OnScroll</description>
      <pubDate>Thu, 28 Mar 2002 23:42:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/How-build-a-large-and-scrollable-Dialog-Box/m-p/981254#M26171</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2002-03-28T23:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: How build a large (and scrollable) Dialog Box?</title>
      <link>https://community.intel.com/t5/Software-Archive/How-build-a-large-and-scrollable-Dialog-Box/m-p/981255#M26172</link>
      <description>Uh, your code is in quite a disorder. (Both display disorder and statements disorder). You need:&lt;PRE&gt;integer*4 function WinMain( hInstance, hPrevInstance,  
     &amp;amp; lpszCmdLine, nCmdShow )  
!DEC$ ATTRIBUTES STDCALL, ALIAS : '_WinMain@16' :: WinMain  
 
use dfwin  
use dflogm  
use Mod1  
 
implicit none  
 
integer*4 hInstance, hPrevInstance, lpszCmdLine, nCmdShow  
 
include 'resource.fd'  
 
external OnDialog  
 
type (T_RECT) :: Rect  
type (dialog) modaldlg  
!type (dialog) dlg &lt;B&gt;This one goes to OnDialog&lt;/B&gt; 
integer*4 ret, let 
logical*4 llet, lret, retlog  
 
ghInstance = hInstance  
ghModule = hInstance 
ghwndMain = NULL  
 
llet = DlgInit (IDD_DIALOG1, modaldlg)  
lret = DlgSetSub(modaldlg, IDD_DIALOG1, OnDialog)  
lret = DlgSetSub(modaldlg, IDC_SCROLLBAR1, OnScroll)  
 
lret = DlgInit(IDC_MyDlg, dlg)  
if (lret == .FALSE.) goto 99999  
&lt;B&gt;!You don't need this&lt;/B&gt; 
!do while( GetMessage (mesg, NULL, 0, 0) )  
!       if ( DlgIsDlgMessage(mesg) .EQV. .FALSE. ) then  
!           lret = TranslateMessage( mesg )  
!           ret = DispatchMessage( mesg )  
!       end if  
!      end do  
 
WinMain = DlgModal(dlgModal) 
 
return  
99999 ret = MessageBox(ghwndMain, "Error initializing application  
     +Eingabebutton"C,"Error"C, MB_OK)  
WinMain = 0 
end function WinMain 
!================================ 
SUBROUTINE OnDialog(modaldlg, id, callbacktype)  
 
use dfwin  
use dflogm  
use Mod1 
 
implicit none  
 
include 'resource.fd'  
 
type (T_RECT) :: Rect  
type (dialog) modaldlg  
 
integer id, callbacktype  
logical lret  
 
lret = DlgModeless (Child, SW_SHOW, ModalDlg%hWnd)  
lret = GetWindowRect (Child%hWnd, Rect)  
lret = DlgSet(ModalDlg, IDC_SCROLLBAR1, Rect%Bottom-Rect%Top, DLG_RANGEMAX)  
 
END SUBROUTINE OnDialog  
!================================ 
SUBROUTINE OnScroll(ModalDlg, ID, iEvent)  
use dfwin  
use dflogm  
use Mod1  
type (dialog) modaldlg  
type (T_RECT) :: Rect  
logical llet  
 
llet = DlgGet(modaldlg, IDD_SCROLLBAR, nPos, DLG_POSITION)  
llet = GetWindowRect(Child%hWnd, Rect)  
llet = MoveWindow(Child%hWnd, 0, 0, -nPos, Rect%Right-Rect%Left,  
     +Rect%Bottom-Rect%Top)  
 
END SUBROUTINE OnScroll &lt;/PRE&gt; &lt;BR /&gt;I'm not sure whether it would work now (I used scissors extensively) but it's pretty close to it. &lt;BR /&gt; &lt;BR /&gt;Few tips:&lt;BR /&gt; &lt;BR /&gt;- In a Dialog-based application, when the main window is a modal dialog, you &lt;B&gt;don't need message loop&lt;/B&gt; regardless of whether there are modeless children. You need message loop only when you have "standalone" modeless dialogs. In other words, having only DlgModal in WinMain is perfectly OK.&lt;BR /&gt; &lt;BR /&gt;- For child dialog use "Child" and "Control" styles.&lt;BR /&gt; &lt;BR /&gt;- Variable type(Dialog):: Child in the code above has to be global (say, defined in Mod1).&lt;BR /&gt; &lt;BR /&gt;HTH&lt;BR /&gt; &lt;BR /&gt;Jugoslav</description>
      <pubDate>Fri, 29 Mar 2002 00:40:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/How-build-a-large-and-scrollable-Dialog-Box/m-p/981255#M26172</guid>
      <dc:creator>Jugoslav_Dujic</dc:creator>
      <dc:date>2002-03-29T00:40:38Z</dc:date>
    </item>
  </channel>
</rss>

