亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? boss.man

?? BOSS窗口開發 C 語言程序庫
?? MAN
?? 第 1 頁 / 共 5 頁
字號:
             };
            
             main()
             {
             WINDOWPTR w1;
             int wat, bat, rv;

               wn_init();
               w1 = wn_open(0,11,1,31,2,NORMAL,NORMAL);
               if(!w1) exit(1);
               wat = (WHITE<<4|BLACK);
               bat = (BLUE<<4|WHITE); 
               rv = wn_popup(0, 0, 0, 33, 14, wat, bat, &intelc, FALSE);
               wn_printf(w1, "wn_popup returned: %d\n",rv);
               wn_printf(w1, "Press any key to continue..");
               v_getch();
               wn_close(w1);
               wn_exit();
               exit(0);
             }
             /* End */

          To make the popup menu disappear upon return, change the call 
          to wn_popup to be:

               rv = wn_popup(0, 0, 0, 33, 14, wat, bat, &intelc, TRUE);




                                                           Page: 11
                                                     The Window BOSS



        Popup Menu Basics - continued.



        The calling sequence and setup of wn_qpopup is similar to 
        wn_popup but the functions significantly differ operationally.  
        The parameter list differs in that there is no window close flag 
        parameter.  The operational differences are more significant. 
        wn_qpopup places the popup window on the screen and then 
        immediately returns a WINDOWPTR to the open and active popup 
        window.  The calling function assumes full responsibility for  
        the window from then on (i.e. moving, closing, etc.).

        Quick popups are used to display information only and do not 
        contain action menu items.  

        Example:

             #include "windows.h"

             static struct pmenu m1 = {
               0, FALSE, 0,
               0, 0, {
               1, 2, "Presenting", 0,
               99, 99, "",99 }
             };

             main()
             {
             int wat, bat;
             WINDOWPTR w2;

               wat = (WHITE<<4|BLACK);
               bat = (BLUE<<4|WHITE);
               w2 = wn_qpopup(0,0,0,16,3,wat,bat,&m1);
               v_getch();
               wn_close(w2);
               wn_exit();
               exit();
             }
             /* End */















                                                           Page: 12
                                                     The Window BOSS



        Popup Menu Basics - continued.



        4.4.1. Notes

        Popup menu items are highlighted by moving the cursor bar with 
        the arrow keys, space bar, or by pressing the first letter/digit 
        of the menu item.  wn_popup will return as soon as the Enter or 
        Escape key is struck.  The return code specified in the pmenu 
        structure is returned when the Enter key is pressed, Escape 
        causes return code of 99 to be passed back to the calling 
        function. 

        Menu navigation is from the current to next or current to 
        previous menu item when using the cursor keys or space bar.  Item 
        skipping can only be accomplished by using the "first character" 
        selection method.  Skip selection will only work as anticipated, 
        if the first character of each action menu item is unique.

        Source code is provided (WN_HELP.C) to allow you to customize 
        and/or enhance the popup menu system to meet your needs.

        The BOSSDEMO program contains coding samples showing the use of 
        wn_popup, wn_qpopup, and how to implement pulldown menus using 
        wn_popup.






























                                                           Page: 13
                                                     The Window BOSS



        4.5. Help System Basics

        The Window BOSS includes a file based help system that can be 
        used to provide your applications with "context sensitive" help.  

        It would be helpful for you to print out a few pages of 
        "INTELC.HLP" to refer to during the following discussion.  You 
        should also run the BOSSDEMO program and exercise the Intellicom 
        Quick Help popup menu. This code uses the help system to produce 
        the displays when menu selections are made.

        The system uses plain ASCII text files you create with your 
        favorite editor.  A special, but easy to follow, file layout is 
        used.  The file layout we have chosen allows the plain ASCII text 
        files to be indexed using the supplied index generation utility 
        GENINDEX.  The indexing provides the system with the ability to 
        rapidly locate and display help messages when called upon to do 
        so.  Since the source (WN_HELP.C & GENINDEX.C) to the entire help 
        system is provided, you can modify it to meet your own needs.  

        In order to use the help system in your application you must take 
        two preparatory steps: (1) prepare the ASCII text file in the 
        specified format and (2) run the GENINDEX program.  For example, 
        you first create a text file called "TAXES.HLP" using Brief, 
        Vedit, Edlin, or your favorite word processor in non_document 
        (ASCII) mode and then run the GENINDEX program by:

                            C> GENINDEX TAXES.HLP

        The GENINDEX program reads "TAXES.HLP" and produces "TAXES.NDX".  
        Both "TAXES.HLP" and "TAXES.NDX" must be available to the 
        application program at run time.

        To actually use the help system in your application you must 
        first initialize the help system by calling wn_hlinit.  This 
        must be done before any attempt is made to display help messages.
        The help system must only be initialized once.  The call to 
        initialize the help system is of the form:

             .....                              /* code */
          rv = wn_hlinit(row, col, width, height, atrib, batrib, file)
             .....                              /* code */

        The parameters define the location, size, and attributes of the 
        window in which the help messages will be displayed along with 
        the name of the help file to be used.  wn_hlinit returns TRUE if 
        all is well, FALSE otherwise.

        Initialization does not cause a window to be displayed, it merely 
        sets the system up for later use by opening and reading the index 
        file into memory.





                                                           Page: 14
                                                     The Window BOSS



        Help System Basics - continued.



        To initialize the system for full screen help messages in a 
        window with white letters on blue background and a similar border 
        using the file "INTELC.HLP", the call to wn_hlinit would be:

         wn_hlinit(0,0,78,23,(BLUE<<4|WHITE),(BLUE<<4|WHITE),"intelc");

        The help system is now initialized to display full screen help 
        messages using "INTELC.HLP" and "INTELC.NDX" as the help message 
        database. (The BOSSDEMO program uses the above code.)

        Important - Unless you intend to modify the help system, the 
        above call to wn_hlinit should always be used - modified only to 
        reflect the name of your help file. 

        Obtaining help at run time is accomplished by calling the wn_help 
        function with a subject key word.  For example:

             rv = wn_help("%general information%");

        Subject key words are located in the ASCII help file you prepare 
        and are processed by the GENINDEX program.  The usage of 
        wn_help() should be clear once we complete the discussion of the 
        file layout.

        The text file you prepare consists of help system commands, 
        subject key words, and the actual text to be displayed which is 
        formatted to fit inside the window defined by wn_hlinit.  

        Commands 

          .cp   - signals end of page 
          *END* - signals end of page and end of help for this subject

          Text is sequentially displayed a screen at a time from the 
          subject keyword through any number of .cp delimited screens 
          through and including the screen delimited by *END*.  The 
          system allows for forward and reverse display via the PgDn and 
          PgUp keys.  The .cp signals the end of a single screen in a 
          series of 2 or more screens.  When .cp is detected the message  
          "Esc to quit help, PgUp for previous screen, any other key to 
          continue..." will be displayed.  When *END* is detected, the 
          message "End of help, PgUp for previous screen, any other key 
          to continue..." is displayed.  









                                                           Page: 15
                                                     The Window BOSS



        Help System Basics - continued.



        Keywords:

          Keywords are always enclosed within percent signs (%) and 
          signal the beginning of text on a particular subject.  They are 
          used by the GENINDEX program to create the index (NDX) file and 
          are used by you as parameters to the wn_help() function.

          In the case of "INTELC.HLP" you will find the following 
          keywords:

          %ksend%, %ksend1%, %krecv%, %krecv1%, %checksum xmit1%, 
          %checksum recv1%, %terminal/c1%, %cistty1%, %terminal%, 
          %terminal/c%, %cistty%, %status%, %dos window%, %exit to dos%,
          %close capture%, %autodial%, %ascii xmit%, %checksum xmit%,
          %checksum recv%, %general information%, %bossinfo%, 
          %end-of-file%

        Text:
             
          Each screen of text is delimited by either a keyword, the .cp 
          command, or the *END* command.  Text is always formatted to fit 
          inside the help window.  In the case of "INTELC.HLP" there are 
          two leading spaces and the text is right justified to end at 
          column 76.  The two leading and trailing spaces center the text 
          between the borders.  Blank lines at the top of each screen 
          (page full) can be used to vertically center the text.  Spaces 
          on the left can be used to horizontally center text.

          Important - Unless you intend to modify the help system, the 
          format defined by "INTELC.HLP" should always be followed for 
          any help files you create for your own use.

        4.5.1. Notes

          The help system is configured to provide a full screen text 
          message, subject keys are limited to 25 characters, and there 
          is a limit of 255 subject keys per file.  This can be changed 
          by modifying the functions found in "wn_help.c"  THERE IS A 
          DIRECT CORRELATION BETWEEN THE PARAMETERS USED TO INITIALIZE 
          THE HELP SYSTEM AND THE LAYOUT OF THE ASCII TEXT FILE READ BY 
          THE GENINDEX PROGRAM.  If you modify the code be sure to also 
          modify location and text of the messages to be displayed when 
          .cp and/or *END* are detected.
         








                                                           Page: 16
                                                     The Window BOSS



        Help System Basics - continued.



          The GENINDEX program is provided in source form.  An EXEcutable 
          will have to be created locally.  You may also have to adjust 
          the logic to account for the way the various compilers treat 
          <CR><LF> sequences.  This usually amounts to nothing more than 

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧洲生活片亚洲生活在线观看| 91精品国产综合久久久久 | 亚洲高清免费一级二级三级| 精品国产乱码久久| 欧美日韩成人在线| av午夜一区麻豆| 韩国在线一区二区| 亚洲福利视频一区| 亚洲人妖av一区二区| 欧美大尺度电影在线| 欧美日韩精品综合在线| 懂色av一区二区三区免费观看| 美国精品在线观看| 午夜欧美视频在线观看| 亚洲欧美日韩在线播放| 国产午夜精品在线观看| 日韩视频一区二区三区| 91黄视频在线| 99re热这里只有精品视频| 国产露脸91国语对白| 日本特黄久久久高潮| 亚洲午夜精品久久久久久久久| 一区精品在线播放| 国产女人18毛片水真多成人如厕| 日韩精品在线看片z| 91麻豆精品国产91久久久久久久久| 在线视频欧美区| 日本乱人伦一区| 色婷婷综合久久久中文字幕| 99在线视频精品| 成人深夜视频在线观看| 国产jizzjizz一区二区| 国产真实乱子伦精品视频| 久久se这里有精品| 久久99久久精品欧美| 麻豆中文一区二区| 久久国产福利国产秒拍| 经典三级在线一区| 国产乱国产乱300精品| 国产精品综合二区| 成人性生交大片免费看视频在线 | 亚洲精品日韩综合观看成人91| 中文成人综合网| 中文字幕欧美一| 亚洲在线一区二区三区| 亚洲高清免费在线| 日韩va欧美va亚洲va久久| 日本在线不卡视频一二三区| 视频在线在亚洲| 久久国内精品自在自线400部| 国产真实精品久久二三区| 国产凹凸在线观看一区二区| www.视频一区| 欧美日韩一区二区三区四区五区 | 亚洲一区在线电影| 亚洲一区二区在线免费观看视频| 亚洲国产视频网站| 久久精品国产成人一区二区三区| 国产精品18久久久久久久久久久久| 国产aⅴ精品一区二区三区色成熟| 成人一区二区三区中文字幕| 在线视频中文字幕一区二区| 欧美一区二区三区四区久久| 欧美精品一区二区高清在线观看 | 欧美日韩精品三区| 欧美成人在线直播| 亚洲欧洲精品天堂一级| 国产精品成人免费 | 国产精品综合久久| 一本色道久久综合亚洲91| 在线成人av网站| 久久久午夜精品理论片中文字幕| 欧美国产日韩亚洲一区| 亚洲综合色成人| 久久精品国产一区二区三| 91亚洲国产成人精品一区二区三| 欧美日韩一区精品| 国产欧美日韩综合| 午夜精品一区二区三区电影天堂 | 国产一区欧美一区| 91在线免费播放| 日韩一区二区三| 亚洲啪啪综合av一区二区三区| 日本免费在线视频不卡一不卡二| 懂色一区二区三区免费观看| 欧美日韩免费观看一区三区| 国产免费久久精品| 日日夜夜免费精品| av中文字幕在线不卡| 88在线观看91蜜桃国自产| 国产精品久久久久一区二区三区 | 国产午夜精品福利| 日韩精品福利网| www.久久精品| 精品国产一区二区三区不卡| 亚洲裸体xxx| 国产精品一区2区| 欧美一区二区三区在| 一区二区三区四区五区视频在线观看| 精品在线观看免费| 欧美影院午夜播放| 国产精品免费av| 黄色小说综合网站| 91麻豆精品国产自产在线| 亚洲日本电影在线| 国产成人午夜高潮毛片| 日韩欧美一级特黄在线播放| 亚洲国产精品精华液网站| caoporm超碰国产精品| 久久久久久久综合| 久久91精品久久久久久秒播| 欧美群妇大交群中文字幕| 亚洲欧美日韩人成在线播放| 国产成人一区二区精品非洲| 精品蜜桃在线看| 免费欧美在线视频| 欧美伦理电影网| 亚洲成人久久影院| 欧美性视频一区二区三区| 18成人在线观看| 成人激情小说网站| 久久精品一区二区三区不卡牛牛 | 极品少妇一区二区三区精品视频| 欧美一三区三区四区免费在线看| 一区二区三区国产精品| 91玉足脚交白嫩脚丫在线播放| 国产精品婷婷午夜在线观看| 国产成人精品一区二区三区网站观看| 日韩视频在线你懂得| 久久99久国产精品黄毛片色诱| 欧美一区二区播放| 国产成a人无v码亚洲福利| 欧美成人精精品一区二区频| 日本不卡1234视频| 日韩三级视频在线观看| 蜜臀av性久久久久蜜臀aⅴ四虎| 欧美日韩一区二区三区高清 | 国产婷婷精品av在线| 国产精品亚洲一区二区三区在线| 精品久久国产老人久久综合| 精品写真视频在线观看| 久久久国产午夜精品| 成人免费高清视频| 亚洲人成影院在线观看| 在线精品视频免费播放| 亚洲国产日韩在线一区模特| 7777精品伊人久久久大香线蕉的 | 理论电影国产精品| 久久久精品一品道一区| 国产在线国偷精品产拍免费yy | 亚洲五码中文字幕| 8x福利精品第一导航| 裸体一区二区三区| 亚洲精品在线观看网站| 成人爽a毛片一区二区免费| 亚洲欧美综合另类在线卡通| 色综合天天在线| 午夜精品影院在线观看| 欧美白人最猛性xxxxx69交| 国产一区二区成人久久免费影院| 国产欧美综合在线观看第十页| 99精品视频一区二区| 午夜一区二区三区视频| 日韩免费高清视频| 暴力调教一区二区三区| 亚洲一区二区不卡免费| 日韩精品一区二| 91色在线porny| 美女网站视频久久| 亚洲欧美综合在线精品| 欧美日韩国产123区| 国产成人三级在线观看| 亚洲主播在线观看| 26uuu精品一区二区| 91免费看片在线观看| 日韩av一级片| 亚洲欧美在线视频| 91精品国产综合久久久久久久| 国产不卡高清在线观看视频| 亚洲高清视频在线| 欧美经典一区二区| 欧美日韩五月天| 国产成人午夜精品5599| 天堂影院一区二区| 国产精品免费久久久久| 在线成人av网站| 91啪九色porn原创视频在线观看| 久久电影国产免费久久电影| 亚洲女女做受ⅹxx高潮| 久久婷婷色综合| 欧美日韩一区二区在线观看视频| 国产成人免费在线视频| 日韩不卡一二三区| 亚洲激情成人在线| 国产欧美精品在线观看| 91麻豆精品国产91久久久久久久久| 99视频一区二区三区| 激情综合色播五月| 亚洲成人免费观看| 亚洲精品久久久久久国产精华液|