Welcome![Sign In][Sign Up]
Location:
Search - window pop up

Search list

[Dialog_WindowSlidingDoor_demo

Description: 此程序运行时,可在窗口右下方弹出对话框!对话可以通过点击进行切换!-this program running, in the lower right corner window pop up dialog box! Click through dialogue can be switched!
Platform: | Size: 34999 | Author: xiaobai_1981 | Hits:

[Special Effectsyanyin-demo

Description: 电子验印核心代码v7.2 102 1、C++ Builder6.0 2、先安装Package Twain32 3、在BC6中加载工程yanyin.bpr即可 4、内核有协议限制且在自动验印时会弹出信息提示窗口。非常抱歉这 些限制可能会给您带来演示的不便,所以另提供了demo.exe的演示 程序。该程序没有以上的限制。 5、如果您对我的内核感兴趣,请联系: 联系人:李建国 msn:ljg-msn@hotmail.com QQ:757412868 email:ljgdzz@163.com-electronic Yanyi core code v7.2 102 1, C Builder6.0 2. Twain32 install Package 3, Used in projects yanyin.bpr load can be 4, Kernel an agreement with the restrictions automatically Yanyi information will prompt window pop up. Very sorry these restrictions may give you the inconvenience of the demonstration, the demo.exe another demonstration program. The procedure none of the above restrictions. 5, if you have the kernel of me interested, please contact : Contact : Li Jianguo msn : ljg-msn@hotmail.com QQ : 757412868 email : ljgdzz@163.com
Platform: | Size: 588124 | Author: 李建国 | Hits:

[GUI Developbrew window manager

Description:

 

Objective
This topic describes how to create a windowed application that will share the display with other applications.
Brew® MP windowed applications need to be written differently than traditional Brew MP applications. Traditional Brew MP applications, when running in the foreground, occupy full screen space and can modify the display at any time. In the windowing framework, multiple applications share the display at the same time and are not allowed to modify the display arbitrarily. A windowed application also needs to create one or more widgets to be used to create the windows.
A windowed application needs to:
·                  Create and initialize one or more widgets to be passed to IWindowMgr_CreateWindow().
The application can implement its own IWidget, or it can make use of an existing IWidget.
·                  Handle the EVT_APP_START_WINDOW event (and create a window).
·                  Implement handlers for visibility changes, focus changes, and extent changes. The implementation of these handlers is dependent on the details of the application.
·                  Draw in two stages:
·                                  Tell the container that drawing is necessary (ICONTAINER_Invalidate()).
·                                  Draw only when told to draw by the container (IWIDGET_Draw()).
Note: A windowed application should not call any functions that modify IDisplay directly. This includes explicit IDisplay function calls or implicit updates, such as calls to IIMAGE_Draw() or ICONTROL_Redraw(). Drawing should happen only on demand, for example, when IWIDGET_Draw() is called for the widget used to create the window. Existing Widget based applications follow these guidelines and, with minor modifications, can be ported to the windowing framework.
Event handling
A windowed application must respond to these events:
EVT_APP_START_WINDOW and EVT_APP_START
A window-based application receives EVT_APP_START_WINDOW first. If the application returns TRUE for this event, the application does not receive EVT_APP_START. If an application needs to support both the environments (window based and non-window based), it should handle both events.
When the application receives EVT_APP_START_WINDOW, it should create one or more windows.
If creation of IWindowMgr0 fails while handling EVT_APP_START_WINDOW, the application should assume that the platform does not support window-based applications. In this case, the application should return FALSE and continue the application logic in the code for EVT_APP_START.
EVT_APP_SUSPEND and EVT_APP_RESUME
After an application returns TRUE for EVT_APP_START_WINDOW, it will not receive EVT_APP_SUSPEND and EVT_APP_RESUME as non-windowed Brew MP applications do. Instead, the application must check for window status events that are sent to the widget through EVT_WDG_SETPROPERTY events. For EVT_WDG_SETPROPERTY events, wParam indicates which property was set, and dwParam specifies the value of the property. When the AEEWindowMgrExt_PROPEX_STATE property has a value of AEEWindowMgrExt_STATE_VISIBLE, the window is visible.
EVT_WDG_WINDOWSTATUS
The EVT_WDG_WINDOWSTATUS event is sent to a widget to notify it about various window related status messages. AEEWindowStatus.h contains information on the meaning of various status messages.
Sample code location

ZIP filename
Location
Run app
hellowindowapp
Brew MP Library
·                       Download and extract the ZIP file.
·                       Compile the app.
·                       Run it on the Brew MP Simulator.

Example of a windowed application
In the hellowindowapp sample, HelloWindowApp_HandleEvent handles the EVT_APP_START_WINDOW event and creates soft key and pop-up windows:
   case EVT_APP_START_WINDOW:   
      DBGPRINTF("EVT_APP_START_WINDOW");
 
      // Create the softkey and popup windows
      HelloWindowApp_CreateSoftkey(pMe);
      HelloWindowApp_CreateOrActivatePopup(pMe);
 
      // Handling this event tells Brew that we are a windowing
      // application.
      return TRUE;  
HelloWindowApp_CreateSoftkey() creates the soft key widget, sets the color text of the widget, then calls HelloWindowApp_CreateWindow() to create the window.
   WidgetWindow *pWindow = &pMe->softkeyWindow;
  
   if (pWindow->piWindowWidget != NULL) return;
   pWindow->pszDbgName = "Softkey";
   pWindow->pMe = pMe;
  
   (void) ISHELL_CreateInstance(pMe->applet.m_pIShell, AEECLSID_SoftkeyWidget,
            (void **) &pWindow->piWindowWidget);
   if (pWindow->piWindowWidget == NULL) return;
 
   {
      WidgetExtent extent = {0, HWA_SOFTKEY_HEIGHT};
      IWidget_SetExtent(pWindow->piWindowWidget, &extent);
   }
  
   (void) IWidget_SetBGColor(pWindow->piWindowWidget, MAKE_RGBA(200,200,200,255));
  
   // Now set the softkeys text
   {
      IWidget *piTextWidget = NULL;
      (void) IWidget_GetSoftkey(pWindow->piWindowWidget, PROP_SOFTKEY1, &piTextWidget);
     
      if (piTextWidget != NULL) {
         (void) IWidget_SetText(piTextWidget, L"Hover", TRUE);
      }
      RELEASEIF(piTextWidget);
 
      (void) IWidget_GetSoftkey(pWindow->piWindowWidget, PROP_SOFTKEY2, &piTextWidget);
      if (piTextWidget != NULL) {
         (void) IWidget_SetText(piTextWidget, L"Close", TRUE);
      }
      RELEASEIF(piTextWidget);
   }
 
   HelloWindowApp_CreateWindow(pMe, pWindow, AEEWindowMgrExt_CLASS_Softkey);  
HelloWindowApp_CreateWindow() creates the soft key window, as follows:
   int result;
   uint32 winId;
   AEEWindowProp propList[1];
  
   // Set custom window handler
   HANDLERDESC_Init(&pWindow->hdHandler, HelloWindowApp_WindowHandler, pWindow, NULL);
   IWIDGET_SetHandler(pWindow->piWindowWidget, &pWindow->hdHandler);
        
   propList[0].id = AEEWindowMgrExtProp_CLASS;
   propList[0].pbyLen = sizeof(winClass);
   propList[0].pby = (void *) &winClass;
     
   result = IWindowMgr_CreateWindow(pMe->piWindowMgr, (IQI*) (void *) pWindow->piWindowWidget,
      propList, ARR_SIZE(propList), &winId);
 
   if (result != SUCCESS) {
      DBGPRINTF("Window creation failed for %s: %d", pWindow->pszDbgName, result);
      HelloWindowApp_DestroyWindow(pWindow);
   } else {
      DBGPRINTF("Window %s created: id=%d", pWindow->pszDbgName, winId);
   }
HelloWindowApp_CreateOrActivatePopup() creates the widget for the pop-up window, then calls HelloWindowApp_CreateWindow() to create the pop-up window.
   pWindow->piWindowWidget = HelloWindowApp_CreateAndInitImageWidget(
                                pMe,
                                "popups.main" // Image as defined in appinfo.ini
                             );
 
   if (pWindow->piWindowWidget == NULL) return;
 
   {
      WExtent extent = {HWA_POPUP_WIDTH, HWA_POPUP_HEIGHT};
      IWIDGET_SetExtent(pWindow->piWindowWidget, &extent);
   }
 
   HelloWindowApp_CreateWindow(pMe, pWindow, AEEWindowMgrExt_CLASS_Popup);
Related information
·                  See Brew MP Widgets Technology Guide: Creating a Widgets application
·                  See Brew MP API Reference

Base version:
Brew MP 1.0
Tested version:
Brew MP 1.0
Phone tested:
No

 

Platform: | Size: 439828 | Author: bluecrest | Hits:

[ISAPI-IEie_pop

Description: IE弹出窗口过滤,用一个DLL文件挂在IE上面,不需要EXE文件,截获IE的OnNewWindow事件.-IE pop-up window filter with a DLL files in IE pegged above, no EXE file, IE OnNewWindow intercepted the incident.
Platform: | Size: 111616 | Author: 段泽 | Hits:

[Dialog_WindowSlidingDoor_demo

Description: 此程序运行时,可在窗口右下方弹出对话框!对话可以通过点击进行切换!-this program running, in the lower right corner window pop up dialog box! Click through dialogue can be switched!
Platform: | Size: 34816 | Author: xiaobai_1981 | Hits:

[Menu controlVC6_menu

Description: 关于VC6.0的菜单界面设计的源代码,菜单的工作原理及编写应用,菜单命令消息在MFC框架程序的几个类中的传递顺序和处理过程。标记菜单、缺省菜单的实现原理、图形菜单的实现及常犯错误的分析,GetSystemMetrics的应用,快捷弹出菜单的实现方式及其命令响应函数有效范围(与弹出菜单时所指定的父窗口有密切的关系,最底层的子窗口具有最优先的处理机会)。动态菜单的编写,如何让程序在运行时产生新的菜单项及如何手工为这些新产生的菜单命令安排处理函数,如何在顶层窗口中截获对菜单命令的处理,更进一步掌握CString类的应用。-VC6.0 on the menu interface design, source code, menu and the working principle of the preparation of applications, Menu information in order MFC framework of the procedure several categories sequence and the transfer process. Marker menu, the default menu in principle, the realization of graphics menu and often make mistakes, function GetSystemMetrics application, quick pop-up menu of ways and order response function effective range (with a pop-up menu at the specified window of a close father the relationship between the bottom of the sub-window is the top priority processing opportunities). Dynamic menu preparation, how procedures at runtime create new menu items and how these new manual for the menu command arrangements for dealing with the function, How window in the top right menu in
Platform: | Size: 77824 | Author: 常攀峰 | Hits:

[Special Effectsyanyin-demo

Description: 电子验印核心代码v7.2 102 1、C++ Builder6.0 2、先安装Package Twain32 3、在BC6中加载工程yanyin.bpr即可 4、内核有协议限制且在自动验印时会弹出信息提示窗口。非常抱歉这 些限制可能会给您带来演示的不便,所以另提供了demo.exe的演示 程序。该程序没有以上的限制。 5、如果您对我的内核感兴趣,请联系: 联系人:李建国 msn:ljg-msn@hotmail.com QQ:757412868 email:ljgdzz@163.com-electronic Yanyi core code v7.2 102 1, C Builder6.0 2. Twain32 install Package 3, Used in projects yanyin.bpr load can be 4, Kernel an agreement with the restrictions automatically Yanyi information will prompt window pop up. Very sorry these restrictions may give you the inconvenience of the demonstration, the demo.exe another demonstration program. The procedure none of the above restrictions. 5, if you have the kernel of me interested, please contact : Contact : Li Jianguo msn : ljg-msn@hotmail.com QQ : 757412868 email : ljgdzz@163.com
Platform: | Size: 587776 | Author: 李建国 | Hits:

[OtherJSwindows

Description: 实现在屏幕右下角弹出小窗口效果,可以用作短消息提示-To achieve the lower right corner of the screen small window pop-up effect, can be used as a short message prompts
Platform: | Size: 6144 | Author: nwu | Hits:

[DirextXDirectXPOP

Description: 在DirectX下弹出对话框,演示了怎样在DirectX全屏的时候弹出提示窗-DirectX pop in the next dialog box, and demonstrated how to DirectX when full-screen pop-up window prompts
Platform: | Size: 15360 | Author: 王振刚 | Hits:

[Dialog_Windowdialog_box

Description: 如果觉得Alert窗的用户体验不佳可以试试这个小脚本,带有全屏淡化的效果(类似百度用户登陆框的效果)。包含警告、成功、错误、确认四个不同弹出框。-Alert window if they feel poor user experience can try this little script, with full-screen play down the effect (similar to Baidu User Login box effects). Contains a warning, success, error, confirmed four different pop-up box.
Platform: | Size: 18432 | Author: T | Hits:

[Hook apiEndWinKey

Description: 里含一个勾子dll全局程序,主要是屏蔽Win键,因为玩笔记本时经常不小心按到Win键以致把游戏窗口弹出来。现在,不用烦了。直接下我这个吧。呵呵。-Lane with a hook dll overall procedures, mainly shielding Win key, because the game often are not careful notebook according to the Win key result of the game window pop up to. Now, not annoying. Directly under my right. Ha ha.
Platform: | Size: 159744 | Author: 陆子伟 | Hits:

[Dialog_Windowvcfmcflashcccwww

Description: 以动画方式弹出,关闭窗口,实现了简单动画,可以参考本程序结构-The way to the pop-up animation, close the window, the realization of a simple animation, can refer to the program structure
Platform: | Size: 3270656 | Author: c.yan | Hits:

[JSP/Javajs-popupmenu

Description: JavaScript弹出窗口源代码.js本身所带弹出窗口太简陋,本代码弹出窗口有多种效果-JavaScript source code pop-up window. Js bring their own pop-up window is too simple, the code there are several effects of pop-up window
Platform: | Size: 96256 | Author: paradise | Hits:

[Dialog_Windowpop-up-window

Description: HTML做的一个弹出窗口,虽然功能不是很全,但是可以说明效果,用DIV做的一个浮动窗口。-Pop-up windows
Platform: | Size: 1024 | Author: lsj | Hits:

[Dialog_WindowWIN32-API-achieve-MSN-pop-up-message-window-minimi

Description: (VC6.0下通过编译)用WIN32 API 实现MSN弹出消息窗口、最小化到系统托盘、静态文本超链接-(VC6.0 through the compilation) with the WIN32 API to achieve MSN pop-up message window, minimize to system tray, static text hyperlink
Platform: | Size: 2923520 | Author: 清风 | Hits:

[Dialog_Windowpop-up-hint-window

Description: 当鼠标放到一个位置时在一个黄色窗口内显示提示内容-pop up hint window
Platform: | Size: 43008 | Author: zhangjinbao | Hits:

[JSP/Javaright-pop-up-menu

Description: Java右键弹出菜单,用Java制作一个窗体菜单,挺简洁的那种菜单,实现步骤:实例化弹出菜单、初始化数组、增加菜单项到菜单上、菜单项事件处理、窗口的鼠标事件处理、调用triggerEvent方法处理事件、如果是弹出菜单事件(根据平台不同可能不同)、设置窗口为可视、菜单项事件处理-Java Right pop-up menu, use Java to create a form menu, very simple kind of menu steps: instantiation pop-up menu to initialize the array of menu items to the menu, menu item event handler, the window the mouse event handler, the triggerEvent method is called to handle the event, if it is pop-up menu events (different depending on the platform may be different) settings window is visible, the menu item event handler
Platform: | Size: 7168 | Author: | Hits:

[Button controlbutton-pop-up-window

Description: VB点击按钮出现弹出窗口时出现动画效果,一个简单的VB实例。-VB click the button pop-up window appears when the animation, a simple VB instance.
Platform: | Size: 4096 | Author: ipale | Hits:

[WEB CodePop-up-window-with-a-close-button

Description: 点击按钮 弹出带关闭按钮的对话框 点击关闭 窗口消失- Click the button to pop up a dialog box with Close button Close the window disappears
Platform: | Size: 1024 | Author: 志涛 | Hits:

[Dialog_Windowhit-button-pop-up-a-window

Description: MFC 基于对话框编程,点击按钮弹出对话框的实现-MFC based dialog,hit button pop-up a dialog
Platform: | Size: 286720 | Author: tanchunguang | Hits:
« 12 3 4 5 6 7 8 9 10 ... 39 »

CodeBus www.codebus.net