Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - app
Search - app - List

Date : 2026-01-09 Size : 33.66kb User :

ClassXP 是一个为 Windows 98/ME/2000/XP 系统而设计的控件界面库。使用 ClassXP 能非常简单 快速地把应用程序界面设置成 Windows XP 的风格。-ClassXP is designed as a controls interface library to be used in Windows 98/ME/2000/XP. One can easily and quickly configure the UI of his app to Windows XP style by using this ClassXP.
Date : 2008-10-13 Size : 102.23kb User : 王祥

说明: 1.copy these four files to your pragram folder, 2.add \"*.Lib\",\"*.h\" to the project if USING MFC DLL, the files in \"DLL\" Folder, if using static lib,the files in \"static\" folder 3.add #include\"SkinMagicLib.h\" to the C*APP.cpp 4.In C*APP::InitInstance(), before show window, add: InitSkinMagicLib( GetModuleHandle(NULL), NULL, NULL,NULL) LoadSkinFile(\".\\\\Tusk.smf\") SetWindowSkin(AfxGetApp()->m_pMainWnd->m_hWnd , \"MainFrame\" ) SetDialogSkin(\"Dialog\") -: 1.copy these four files to your pragram folder, 2.add "*. Lib" "*. h" to the project if USING MFC DLL, the files in "DLL" Folder, if using static lib, the files in the "static" folder 3.add # include "sk inMagicLib.h "to the C * C * APP.cpp 4.In APP : : InitInstance (), before show window, add : InitSkinMagicLib (GetModuleHandle (NULL) NULL, NULL, NULL) LoadSkinFile (. " \\ \\ Tusk.smf ") SetWindo wSkin (AfxGetApp () -
Date : 2008-10-13 Size : 490.34kb User : 好军

The sample demonstrate how to move the active view to centre on app window, The demo is from <<MFC anwser book>>-The sample demonstrate how to move the acti 've view to center on app window, The demo is from
Date : 2008-10-13 Size : 20.69kb User : 曾晖

DL : 0
显示系统设备,.net程序包括app.aps、app.rc、AssemblyInfo.cpp、DevList.cpp DevList.exe、DevList.ncb、DevList.sln、DevList.vcproj resource.h、stdafx.cpp、stdafx.h、app.ico
Date : 2008-10-13 Size : 1.12mb User : zhanglei

用vc开发的app的一个控件包,只支持 VC5,VC6,VC7,不支持VB,Delphi,C#,BCB等其它开发工具
Date : 2008-10-13 Size : 576.32kb User : 涂灵

 

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

 

Date : 2009-01-08 Size : 429.52kb User : bluecrest

winform app
Date : 2010-06-11 Size : 2.24mb User : benyau

类似spy++里查找窗口功能的程序-The app which likes spy
Date : 2026-01-09 Size : 28kb User : 站长

ClassXP 是一个为 Windows 98/ME/2000/XP 系统而设计的控件界面库。使用 ClassXP 能非常简单 快速地把应用程序界面设置成 Windows XP 的风格。-ClassXP is designed as a controls interface library to be used in Windows 98/ME/2000/XP. One can easily and quickly configure the UI of his app to Windows XP style by using this ClassXP.
Date : 2026-01-09 Size : 161kb User : 王祥

说明: 1.copy these four files to your pragram folder, 2.add "*.Lib","*.h" to the project if USING MFC DLL, the files in "DLL" Folder, if using static lib,the files in "static" folder 3.add #include"SkinMagicLib.h" to the C*APP.cpp 4.In C*APP::InitInstance(), before show window, add: InitSkinMagicLib( GetModuleHandle(NULL), NULL, NULL,NULL) LoadSkinFile(".\\Tusk.smf") SetWindowSkin(AfxGetApp()->m_pMainWnd->m_hWnd , "MainFrame" ) SetDialogSkin("Dialog") -: 1.copy these four files to your pragram folder, 2.add "*. Lib" "*. h" to the project if USING MFC DLL, the files in "DLL" Folder, if using static lib, the files in the "static" folder 3.add# include "sk inMagicLib.h "to the C* C* APP.cpp 4.In APP : : InitInstance (), before show window, add : InitSkinMagicLib (GetModuleHandle (NULL) NULL, NULL, NULL) LoadSkinFile (. " \ \ Tusk.smf ") SetWindo wSkin (AfxGetApp ()-
Date : 2026-01-09 Size : 490kb User : 好军

The sample demonstrate how to move the active view to centre on app window, The demo is from <<MFC anwser book>>-The sample demonstrate how to move the acti 've view to center on app window, The demo is from
Date : 2026-01-09 Size : 20kb User : 曾晖

DL : 0
显示系统设备,.net程序包括app.aps、app.rc、AssemblyInfo.cpp、DevList.cpp DevList.exe、DevList.ncb、DevList.sln、DevList.vcproj resource.h、stdafx.cpp、stdafx.h、app.ico-Display System equipment,. Net procedures including app.aps, app.rc, AssemblyInfo.cpp, DevList.cppDevList.exe, DevList.ncb, DevList.sln, DevList.vcprojresource.h, stdafx.cpp, stdafx.h, app. ico
Date : 2026-01-09 Size : 1.12mb User : zhanglei

用vc开发的app的一个控件包,只支持 VC5,VC6,VC7,不支持VB,Delphi,C#,BCB等其它开发工具-Vc developed app with a control package, only supports VC5, VC6, VC7, do not support the VB, Delphi, C#, BCB, and other development tools
Date : 2026-01-09 Size : 576kb User : 涂灵

Fast Icon for App development
Date : 2026-01-09 Size : 3kb User : Sudhir Kumar

桌面图标操作程序,可以隐藏,现实任务条等功能-VB DeskTop Icon Restorer Ver 3.02 Locate DeskTop Icons Get Text from Desktop Icons Multiple Desktop Icon Position Restorer and Saver Hide\Unhide any Icon Retrieve Icon Images Detect Screen Resolution Changes and Restore Icon Pattern regardless of resolution change Hide\UnHide TaskBar Use Global HotKey to bring up App
Date : 2026-01-09 Size : 26kb User : lsp

Show to make a sdi app and use controls -Show how to make a sdi app and use controls
Date : 2026-01-09 Size : 20kb User : Pawan

This app is about converting the bitmap to icon
Date : 2026-01-09 Size : 54kb User : Ram

mac os上qq软件,一个很好的mac os下的聊天工具-qq on mac os software, mac os, under a good chat tool
Date : 2026-01-09 Size : 9.65mb User : garlen

A usefull transparent label control written in C# (source code+test app included)
Date : 2026-01-09 Size : 334kb User : cybernox
« 12 3 4 »
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.