进入Windows 7旗舰版的桌面后,按住组合键Win + Ctrl + Tab即可将三维效果定在某个位置。现在提供一种建立快捷方式的办法:在桌面空白处右击鼠标-新建-快捷方式,在弹出的对话框中输入C:\Windows\System32\rundll32.exe DwmApi #105,“C”为W....
首先,想说一下,个人觉得PopupWindow用起来比AlertDialog简单,易用,相对AlertDialog更适合初学者的使用使用PopupWindow创建对话框风格的窗口只要如下两步:一、调用PopupWindow的构造器创建PopupWindow对象二、调用PopupWindow的show...
分类:
移动开发 时间:
2014-07-22 22:50:34
阅读次数:
189
1 完成foo()函数的内容,要求能够弹出对话框提示当前选中的是第几个单选框。1 function foo(){2 var rg=document.getElementsByName("radioGroup");3 for(var i=0,l=rg.length;i=0;i--){5...
分类:
其他好文 时间:
2014-07-22 22:49:35
阅读次数:
1218
1 对话框的分类 2 对话框的基本使用方式 3 对话框资源 4 有模式对话框的使用 int DialogBox(
HINSTANCE hInstance,
LPCTSTR lpTemplate,
HWND hWndParent,
DLGPROC lpDialogFunc
); 5 无模式对话框的使用 5.1 添加对话框资源 5.2 定义窗口处理函数 BOOL ...
android中的style属性值
Android平台定义的主题样式:
android:theme="@android:style/Theme.Dialog" // 将一个Activity显示为对话框模式
android:theme="@android:style/Theme.NoTitleBar" // 不显示应用程序标题栏
android:theme="@android:sty...
分类:
移动开发 时间:
2014-07-19 23:14:09
阅读次数:
400
直接上效果图:
实现步骤:
1.主界面activity_main.xml很简单,一个按钮
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_wid...
分类:
移动开发 时间:
2014-07-19 18:27:19
阅读次数:
222
注意生成控制台程序,即-L/SUBSYSTEM:console 1 //This application demonstrates how to show a dialog in a console app. 2 3 #include 4 5 #include 6 7 class MyAp...
分类:
其他好文 时间:
2014-07-19 15:25:00
阅读次数:
182
如何实现点击按钮,弹出“正在加载数据,请稍候...”对话框,加载完了之后,对话框自动消失呢?
其实也是很简单的看下面代码:
import com.farsunset.ichat.example.R;
import android.os.Bundle;
import android.app.Activity;
import android.app.ProgressDialog;
publi...
分类:
移动开发 时间:
2014-07-19 02:17:16
阅读次数:
241
先看效果图
这个是我们自己的apk点击之后的效果
下边是布局文件
activity_main.xml主布局文件
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="matc...
分类:
移动开发 时间:
2014-07-19 02:15:46
阅读次数:
280
??????在VC++中为对话框添加资源,使用API函数...
分类:
编程语言 时间:
2014-07-19 02:14:35
阅读次数:
334