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

Search list

[Other多文本编辑器

Description: EDITOR是一个多文档/多窗口的文本/二进制编辑器-EDITOR is a multi-file/multi-window text/binary editor.
Platform: | Size: 145661 | Author: hjxm | Hits:

[GUI Developchp

Description: 软件工程小学期做的《dos下多窗口文本编辑器》 第一次接触大程序-primary phase of software engineering done, "dos multi-window text editor," the first contacts procedures
Platform: | Size: 106490 | Author: 于冠群 | Hits:

[Windows Develop20040716133400_infotip

Description: 它能够实现:动态弹出tip窗口,这个窗口能够显示一个icon和多行文本。文本以 \\n 分行,窗口的颜色来源于系统窗口,窗口文本,和滚动条颜色。-it can be achieved : dynamic pop tip window, this window can display an icon and multiple lines of text. A text \\ n branch, the window color system from the window, the window text, and the rolling of color.
Platform: | Size: 36415 | Author: 张强 | Hits:

[Other195

Description: 第1章 Visual C++概述  1.1 Visual C++概述  1.2 Windows编程模式   1.2.1 面向过程的MS-DOS编程   1.2.2 面向用户的事件驱动编程   1.2.3 Windows消息机制   1.2.4 Windows系统消息类型  1.3 MFC类库   1.3.1 MFC类库的优越性   1.3.2 MFC类库说明   1.3.3 MFC框架与消息映射  1.4 Windows应用程序框架   1.4.1 文档/视图结构概述   1.4.2 文档类   1.4.3 视图类   1.4.4 框架窗口  1.5 Visual C++ 6.0集成开发环境   1.5.1 菜单栏   1.5.2 工具栏   1.5.3 工作区窗口   1.5.4 正文窗口   1.5.5 输出窗口  1.6 本章小结-Chapter 1 outlines Visual C 1.1 1.2 outlined Visual C programming model for Windows 1.2.1 process-oriented MS-DOS Programming 1.2.2 user-oriented event-driven programming 1.2.3 Windows Message 1. 2.4 Windows message types 1.3.1 1.3 MFC MFC superiority 1.3.2 1.3.3 Note MFC MFC Message Mapping Framework 1.4 and Windows application framework 1.4.1 Document / View 1.4.2 document outlining the structure Class View Class 1.4.4 1.4.3 framework window Visual C 6.0 1.5 Integrated Development Environment 1.5.2 1.5.1 menu bar a toolbar .5.3 work area window text window 1.5.4 1.5.5 1.6 of this chapter output window Summary
Platform: | Size: 428265 | Author: me | Hits:

[ConsoleGWTTest

Description: 如何获得另一个应用程序窗口中的文本-how to access another application window text
Platform: | Size: 21547 | 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:

[SourceCodeChangeTitle

Description: 随时改变窗口标题栏的内容,使标题栏的内容更适合自己的需要-change the window title at any time and make the title text according to your own demand
Platform: | Size: 71680 | Author: 王志强 | Hits:

[ConsoleGWTTest

Description: 如何获得另一个应用程序窗口中的文本-how to access another application window text
Platform: | Size: 21504 | Author: 蔡山 | Hits:

[Consoletail

Description: window平台下实现tail 类似unix下的tail功能,实时跟踪显示文本文件的改变,常用于显示日志文件。-window platform to achieve similar unix tail under the tail function, real-time tracking shows the change text files, which are often used to show the log file.
Platform: | Size: 34816 | Author: 阙劲峰 | Hits:

[Other多文本编辑器

Description: EDITOR是一个多文档/多窗口的文本/二进制编辑器-EDITOR is a multi-file/multi-window text/binary editor.
Platform: | Size: 145408 | Author: hjxm | Hits:

[AI-NN-PR关于tts语音引擎的使用方法

Description: 关于tts语音引擎的使用方法!很多软件具有英文发音和朗读功能,它们都使用了MSTTS(Microsoft Text To Speech)技术。微软遵照COM的标准,提供了一套Speech API来对MSTTS进行编程。要在程序中使用这套API,必须确保系统已经安装了MSTTS和Spchapi软件包。   Speech API可以作为类型库引用到Delphi中,方法是:打开Project选单下的Import Type Litrary,点击“Add”加入Windows\Speech目录下的Vtxauto.tlb文件,在Delphi的Import目录中就会生成VTxtAuto—TLB.pas文件,其中定义了VTxtAuto—TLB单元,把它加到Uses成员中来。设计如图2所示的窗口,定义全局变量: var VoTxt:IVTxtAuto   然后在Form的OnCreate事件中加入:   VoTxt:=CoVTxtAuto_.Create   VoTxt.Register(′′,′Speech Test′) {注册}   “Read”按钮代码为:   VoTxt.Speak(Memo1.Lines.Text,10) {朗读}   “Stop”按钮代码为:   VoTxt.StopSpeaking {停止朗读}   至此,应用程序已具有朗读功能,10表示使用普通语气。借住VoTxt的属性和方法,我们还可以控制阅读速度和语气,实现暂停、跳句等功能,Speech API编程就这么简单。 -TTS voice on the use of the engine! Many software with English pronunciation and reading aloud function, they have used MSTTS (Microsoft Text To Speech) technology. Microsoft COM comply with the standards and provide a set of Speech API to right MSTTS program. The procedure to use this API, we must ensure that the system has been installed and Spchapi MSTTS package. Speech API can be used as a type library to Delphi, is : Open Project menu under the Import Type Litrary, click on the "Add" to join Windows \ directory under the Speech Vtxauto.tlb documents in the Delphi Import directory will generate VTxtAuto- TLB.pas document, which will just a VTxtAuto- TLB units, it added Uses members to China. Figure 2 shows the design of windows, the definition of global variables : var VoTx
Platform: | Size: 7168 | Author: 章称 | Hits:

[GUI Develop切分窗口的例子

Description: 切分窗口的例子。This sample demonstrates how to create a splitter which draws onto the Desktop Device Context. Because the splitter is drawing directly on the Desktop window (which is simply an image of the windows on the Desktop), there is absolutely no restriction where the splitter is drawn. This means it is possible to perform splits on, for example, a left aligned Picture Box on an MDI form.-segmentation window examples. This sample demonstrates how to create a splitt er which draws onto the Desktop Device Context. Because the splitter is drawing directly on the Desktop window (which is simply an image of the w the upgrade on the Desktop), there is absolutely no restriction where the sp litter is drawn. This means it is possible to per splits on form, for example, a left aligned Picture Box on an MDI form.
Platform: | Size: 20480 | Author: 张细雨 | Hits:

[Otherex28a

Description: 通过它,了解包容器和组件之间的相互作用。在窗口中简单画出一些文本和图画。-through it, understand package containers and the interaction between components. In the window paint some simple text and pictures.
Platform: | Size: 58368 | Author: 阿甘 | Hits:

[2D GraphicVGA-13h-SDK

Description: 这是一个支持VGA320*200*256C的小开发包,里含头文件vmode.h--用于调用此模式(0x13)的支持 vdraw.h--用于基本绘图操作的支持 chput.h--用于汉字及E文在图形方式下的显示支持 window.h--用于创建基本窗口控件的支持.Deam.c--演示程序的代码 hzk16--16*16的点阵汉字字库.-This is a support VGA320* 200* Male small development kits, said to contain the header files vmode.h--used to call this model (are) the support vdraw.h--Mapping for basic operating support chput.h--used Chinese characters and E text in graphic mode the show support window.h--used to create the basic window controls support. Deam.c--demo program code hzk16-- 16* 16 Chinese character dot-matrix.
Platform: | Size: 9216 | Author: 董凯 | Hits:

[GUI Developchp

Description: 软件工程小学期做的《dos下多窗口文本编辑器》 第一次接触大程序-primary phase of software engineering done, "dos multi-window text editor," the first contacts procedures
Platform: | Size: 106496 | Author: 于冠群 | Hits:

[Windows Develop20040716133400_infotip

Description: 它能够实现:动态弹出tip窗口,这个窗口能够显示一个icon和多行文本。文本以 \n 分行,窗口的颜色来源于系统窗口,窗口文本,和滚动条颜色。-it can be achieved : dynamic pop tip window, this window can display an icon and multiple lines of text. A text \ n branch, the window color system from the window, the window text, and the rolling of color.
Platform: | Size: 35840 | Author: 张强 | Hits:

[GUI DevelopWindow_Text

Description: 实现文字倾斜显示,倾斜角度自定,主要运用CGdiObject的派生类-Tilt to achieve the text shows that self-tilt angle, the main use of the derived class CGdiObject
Platform: | Size: 45056 | Author: zhangwei | Hits:

[Editortext

Description: 自己做的一个多窗口版本的文本编辑器,用vsC#写的,类似于记事本-To do their own version of a multi-window text editor with vsC# Written, similar to Notepad
Platform: | Size: 90112 | Author: ghm | Hits:

[OS programwei2008.com_Demo68

Description: 获取另一程序窗口文本,通过GETWINDOWS获取当前运行中的程序的窗口文本内容。-Another program window to obtain the text, through the GETWINDOWS get the current running program' s window text.
Platform: | Size: 6144 | Author: myww | Hits:

[ELanguagemore-text-editor

Description: 这是个多文档、多窗口的文本。二进制编译器的源程序。-This is a multi-document, multi-window text. Binary source code compiler.
Platform: | Size: 153600 | Author: anlai | Hits:
« 12 3 4 5 6 7 8 9 10 ... 47 »

CodeBus www.codebus.net