FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index Utilities / Utilidades Using Bing Copilot to write RC files from an image
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Using Bing Copilot to write RC files from an image
Posted: Sun Feb 11, 2024 12:53 PM
Code (fw): Select all Collapse
#include <windows.h>

IDD_FORM1 DIALOGEX 0, 0, 300, 200
STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Form1"
FONT 8, "MS Sans Serif"
BEGIN
    CONTROL "Speak", IDC_BUTTON_SPEAK, "Button", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE, 10, 10, 80, 25
    CONTROL "Speak From Cursor Position", IDC_BUTTON_SPEAK_CURSOR, "Button", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE, 10, 40, 150, 25
    CONTROL "Rate", IDC_SLIDER_RATE, "msctls_trackbar32", TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE, 10, 80, 200, 20
    CONTROL "Volume", IDC_SLIDER_VOLUME, "msctls_trackbar32", TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE, 10, 110, 200, 20
    CONTROL "Pause", IDC_BUTTON_PAUSE, "Button", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE, 10, 150, 80, 25
    CONTROL "Resume", IDC_BUTTON_RESUME, "Button", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE, 100, 150, 80, 25
    EDITTEXT IDC_EDIT_INSTRUCTION, 220, 10, 70, 100, ES_MULTILINE | WS_CHILD | WS_VISIBLE | WS_BORDER
    LISTBOX IDC_LIST_ENABLED_VOICES, 220, 120, 70, 60, LBS_STANDARD | WS_CHILD | WS_VISIBLE | WS_BORDER
    LISTBOX IDC_LIST_DISABLED_VOICES, 220, 190, 70, 60, LBS_STANDARD | WS_CHILD | WS_VISIBLE | WS_BORDER
END
regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion