Location:
Search - CDialog
Search list
Description: 对话框和对话框类CDialog
对话框经常被使用,因为对话框可以从模板创建,而对话框模板是可以使用资源编辑器方便地进行编辑的。
Platform: |
Size: 18359 |
Author: 人马座 |
Hits:
Description: VC++ CDialog class extension,增加了一些方便使用的功能。
Platform: |
Size: 72413 |
Author: BigPenguin |
Hits:
Description: 《创建一个不可关闭的对话框》 [代码性质] VC完整应用程序代码 创建一个基于对话框的工程,一切默认即可。 在对话框的属性general中,设置caption为空,这样用ctrl+alt+del就发现不到此 程序。 在对话框的属性more stytle 中,选中disable,这样就不能用右键关闭此程序。 删除取消按钮,双击确定按钮,在其对应函数中将 CDialog::OnOK()删除。这样就 不能用回车关闭此程序。如果只是简单的删除确定按钮是不行的。 当然了,要是关闭计算机之类的操作,那就没办法了。 此程序我目前想不到有什么实际用途,不过用来搞恶作剧还是不错的。- "Founds Dialog box Which Cannot Be closed" [ code nature ] the
VC integrity application procedure code to found based on the dialog
box project, all tacitly approve then. In dialog box attribute
general, establishes caption is spatial, like this uses ctrl alt del
not to reach this point on the discovery the procedure. In dialog box
attribute more stytle, selects disable, like this cannot use the right
key to close this procedure. The deletion cancels the button,
double-clicks determines the button, () deletes in its homographic
function CDialog::OnOK. Like this cannot use the carriage return to
close this procedure. If only is the simple deletion determination
button is not good. Natural, if closes the computer and so on
operation, that did not have the means. This procedure I at present
could not think has any actual use, but uses for to do the practical
joke good or.
Platform: |
Size: 25600 |
Author: 代伟 |
Hits:
Description: This version of dialog, formerly known as cdialog is based on the Debian package for dialog 0.9a (see CHANGES for recent modifications) 这是一个 unix 系统下的对话框管理程序, 你可以将该程序编译后,直接使用。-This version of dialog, formerly known as cdialog is based on the Debian package for dialog 0.9a (see CHANGES for recent modifications) This is a unix system dialog box under the management program, you can compile this program, the direct use.
Platform: |
Size: 248832 |
Author: 李金明 |
Hits:
Description: 我们知道Windows操作系统窗口风格基本上是一致的,微软的应用软件程序也和操作系统风格基本是统一的。所以使我们的CDialog 也跟其一样,要改变它的界面风格很困难。除非你对MFC了如指掌,甚至要了解操作系统内核。本人在摸索过程中经过无数次碰壁后,终于找到了希望。-Windows window style is basically the same, Microsoft's application software and operating system are the basic style is unified. Therefore, we are with their CDialog, to change its style of interface is very difficult. Unless you already know the MFC, or even to understand the operating system kernel. I explored the process after numerous rebuffed after finally found hope.
Platform: |
Size: 98304 |
Author: 小小天职 |
Hits:
Description: 我们知道Windows操作系统窗口风格基本上是一致的,微软的应用软件程序也和操作系统风格基本是统一的。所以使我们的CDialog 也跟其一样,要改变它的界面风格很困难。-Windows window style is basically the same, Microsoft's application software and operating system are the basic style is unified. Therefore, we are with their CDialog, to change its style of interface is very difficult.
Platform: |
Size: 104448 |
Author: 陈炜 |
Hits:
Description: 扩展CDialog类,可以有更丰富的对话框界面
,初学者可以看一下-expansion CDialog category, there could be more rich dialog interface, beginners can look at the
Platform: |
Size: 69632 |
Author: sun |
Hits:
Description: 一个华丽的界面
使用方法
方法一:
ModifyStyle( WS_CAPTION, WS_MINIMIZEBOX, SWP_DRAWFRAME ) //设置图标
方法二:
不用上面的,但是要去掉对话框的title属性
void CPageDlg::OnPaint()
{
if (IsIconic())
{
...
}
else
{
// CDialog::OnPaint() //一定要去掉该句
CPaintDC dc(this) //对话框的dc
CDC dcMem
dcMem.CreateCompatibleDC(&dc) //创建与对话框dc兼容的内存dc
CRect rect
GetClientRect(&rect)
BITMAP bitMap
m_bmpBackground.GetBitmap(&bitMap)
CBitmap *pbmpOld=dcMem.SelectObject(&m_bmpBackground) //将背景位图选入内存dc中
dc.StretchBlt(0,0,rect.Width(),rect.Height(),&dcMem,0,0,bitMap.bmWidth,bitMap.bmHeight,SRCCOPY) //将内存dc中的位图拉伸显示在对话框的dc中
//dc.BitBlt(0,0,rect.Width(),rect.Height(),&dcMem,0,0,SRCCOPY)
}
}
-a gorgeous interface to use a method : ModifyStyle (WS_CAPTION, WS_MINIMIZEBOX. SWP_DRAWFRAME)// Settings icon two ways : not above, However, to remove the title attribute dialog void CPageDlg : : OnPaint () (if (IsIconic ()) (...) else (//CDia log : : OnPaint ()// must remove the sentence CPaintDC dc (this)// Dialog dc CDC dcMem dcMem.CreateCompatibleDC (
Platform: |
Size: 148480 |
Author: 黄景天 |
Hits:
Description: 主要扩展了对话框类,可以设置对话框的背景色,以及对话框的背景声音!-major expansion of the category of dialog, the dialog can set the background color and the background voice box!
Platform: |
Size: 12288 |
Author: 肖献强 |
Hits:
Description: 无意看到EnumChildWindows函数,于是写了个自动改变控件位置的类CAutoResizeDlg,由CDialog继承而来。
以后做对话框程序可以方便改变大小了-no wish to see EnumChildWindows function, So wrote the automatic controls to change the location of CAutoResizeDlg category, inherited from CDialog. After the dialog box procedure can be done to change the size of convenience
Platform: |
Size: 2048 |
Author: 黄承杰 |
Hits:
Description: 这是一个继承CDialog类的一个对话框类,其中实现了对话框的动态变动大小,包括对话框上面的按钮随着对话框的变化而变化,非常好的一个,已经实际应用好几次-This is a kind of inheritance CDialog a dialog box category, a dialog box in which to achieve the dynamic changes in the size, including dialog with the top button of the dialog box and change. a very good one, has several practical applications
Platform: |
Size: 114688 |
Author: 阿飞发 |
Hits:
Description: 点击按钮,弹出另一个对话框的Demo
第一步:添加(Insert Dialog)要弹出的Dialog,根据自己需要可以设计界面,因为我是一个简单Demo,所以很简单!
第二步:为添加的Dialog添加建立成一个继承DLG的类,class CDialog1 : public CDialog
第三步:在主对话框中为按钮添加函数。如下:
void CClickDialogDlg::OnButton1()
{
// TODO: Add your control notification handler code here
CDialog1 dlg
dlg.DoModal()
}
不要忘记#include "Dialog1.h"-Click of a button, another dialog box pop Demo of the first step: add (Insert Dialog) to the pop-up Dialog, according to their own needs can be designed interface, because I am a simple Demo, so very simple! Step two: add Dialog to add the establishment of a succession of DLG class, class CDialog1: public CDialog third step: in the main dialog box for the button to add the function. As follows: void CClickDialogDlg:: OnButton1 () (//TODO: Add your control notification handler code here CDialog1 dlg dlg.DoModal ()) do not forget# Include
Platform: |
Size: 24576 |
Author: SeVen Lee |
Hits:
Description: 对话框和对话框类CDialog
对话框经常被使用,因为对话框可以从模板创建,而对话框模板是可以使用资源编辑器方便地进行编辑的。
-CDialog Class dialog box and dialog box is often used, because the dialog box can be created from a template, and dialog box templates can use resource editor to easily edit the.
Platform: |
Size: 18432 |
Author: 人马座 |
Hits:
Description: The class implements an MFC CDialog derived class which performs HTTP downloads similar to the Internet Explorer
利用HTTP协议下载的类(43KB)
-The class implements an MFC CDialog derived class which performs HTTP downloads similar to the Internet Explorer to use HTTP protocol to download the class (43KB)
Platform: |
Size: 44032 |
Author: 张祥 |
Hits:
Description: Progress Bar是讓使用者瞭解現狀的好方法!把控件放到CMyProgressForm 這個 CDialog 中, 那麼在使用時可以使用 Modeless 的方式, 把 Dialog 建立起來。當然了, 你的高耗時程式應該要用一條特別的 thread來執行,否則視窗根本不會繪圖。-Progress Bar allows users to understand the status quo is a good way! The controls put in CMyProgressForm the CDialog, then use can use Modeless way to Dialog established. Of course, your program should be a high time-consuming to use a special thread to execute, otherwise the window will not graphics.
Platform: |
Size: 11264 |
Author: ken |
Hits:
Description: 代码包含: CFrameWnd,CDialog,Static,Button,ListCtrl,TreeCtrl,TextBox,Menu 等窗体控件的自绘方法,并打包成类库.rar-Code contains: CFrameWnd, CDialog, Static, Button, ListCtrl, TreeCtrl, TextBox, Menu control, such as form of self-painting methods, and packaged into a library. Rar
Platform: |
Size: 531456 |
Author: yummy |
Hits:
Description: 具有动画效果的对话框实现程序,可以实现两种效果-Animation effects with a realization of the dialog box procedure, the two effects can be achieved
Platform: |
Size: 37888 |
Author: yangyang |
Hits:
Description: 本计算器一个MFC可视化程序,我用的是CDialog。这是一个高精度的计算器,不是一个简单加减乘除的计算器,有一定的
算法难度。能算超大型数据的加减乘除,能做200以内的阶乘运算.能计算很高精度的实数幂运算。使用方法基本上是和普通计算器一样的-This calculator a MFC visualization procedures are used in my CDialog. This is a high-precision calculator, not a simple calculation of the calculator, there is a certain degree of difficulty of the algorithm. Able to count very large data calculation, can be less than 200 computing factorial. Can calculate the real number is very high-precision computing power. Use basically the same as ordinary calculator
Platform: |
Size: 7882752 |
Author: 钟玲 |
Hits:
Description: unctions/Classes:
CCommandLineInfo CString CWnd CDialog CDataExchange GetDlgItem CComboBox CWinApp CSingleDocTemplate DdeInitialize DdeCreateStringHandle DdeGetLastError DdeNameService DdeConnect SetEvent CEvent WaitForSingleObject PostMessage DdeGetData DdeCreateDataHandle CDocTemplate DdePostAdvise DdeClientTransaction CCmdUI PostQuitMessage CStatic SetWindowText CDocument CFormView CView CObject CTime CFrameWnd
File list(Click to check if it s the file you need, and recomment it at the bottom):
MSDEV
.....\Projects
.....\........\GPSServ
.....\........\.......\CmdLineInfo.c-unctions/Classes:
CCommandLineInfo CString CWnd CDialog CDataExchange GetDlgItem CComboBox CWinApp CSingleDocTemplate DdeInitialize DdeCreateStringHandle DdeGetLastError DdeNameService DdeConnect SetEvent CEvent WaitForSingleObject PostMessage DdeGetData DdeCreateDataHandle CDocTemplate DdePostAdvise DdeClientTransaction CCmdUI PostQuitMessage CStatic SetWindowText CDocument CFormView CView CObject CTime CFrameWnd
File list(Click to check if it s the file you need, and recomment it at the bottom):
MSDEV
.....\Projects
.....\........\GPSServ
.....\........\.......\CmdLineInfo.cpp
Platform: |
Size: 647168 |
Author: akub |
Hits:
Description: A class to skin CDialog
Platform: |
Size: 32768 |
Author: Santana |
Hits: