[ 무료 ] 웹툰 , 이상한 것들

2021년 10월 13일 수요일

vba1

 



다음은 Visual Basic 6에서 DoEvents 함수를 사용하는 예제입니다:

vb
Private Sub Command1_Click() 
Dim i As Integer 
For i = 1 To 100 
     Label1.Caption = i DoEvents '다른 이벤트/메시지를 처리할 수 있도록 함
Next i
MsgBox "카운트가 완료되었습니다." 
End Sub

이 예제에서 DoEvents 함수는 1부터 100까지 세는 For 루프 내에서 사용됩니다. 루프 내에서 i의 현재 값이 레이블 컨트롤에 표시됩니다 (Label1.Caption = i). DoEvents 함수는 루프 내에서 호출되어 루프가 실행되는 동안 다른 이벤트 및 메시지를 처리할 수 있도록하며, 이를 통해 응용 프로그램이 "동결"되거나 응답하지 않는 것처럼 보이는 것을 방지합니다.

DoEvents 함수가 없으면 루프가 완료될 때까지 다른 이벤트나 메시지가 처리되지 않으므로, 루프가 완전히 실행될 때까지 레이블 컨트롤이 업데이트되지 않습니다.

루프가 완료된 후에는 카운트가 완료되었음을 나타내는 메시지 박스가 표시됩니다.

2020년 10월 28일 수요일

배송

 #include <windows.h>

 HWND myText; 

/*  Declare Windows procedure  */

LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM);


/*  Make the class name into a global variable  */

char szClassName[ ] = "WindowsApp";

HINSTANCE g_hInst;

int WINAPI WinMain (HINSTANCE hThisInstance,

                    HINSTANCE hPrevInstance,

                    LPSTR lpszArgument,

                    int nFunsterStil)


{

    HWND hwnd;               /* This is the handle for our window */

    MSG messages;            /* Here messages to the application are saved */

    WNDCLASSEX wincl;        /* Data structure for the windowclass */

   

g_hInst=hThisInstance;

    /* The Window structure */

    wincl.hInstance = hThisInstance;

    wincl.lpszClassName = szClassName;

    wincl.lpfnWndProc = WindowProcedure;      /* This function is called by windows */

    wincl.style = CS_DBLCLKS;                 /* Catch double-clicks */

    wincl.cbSize = sizeof (WNDCLASSEX);


    /* Use default icon and mouse-pointer */

    wincl.hIcon = LoadIcon (NULL, IDI_APPLICATION);

    wincl.hIconSm = LoadIcon (NULL, IDI_APPLICATION);

    wincl.hCursor = LoadCursor (NULL, IDC_ARROW);

    wincl.lpszMenuName = NULL;                 /* No menu */

    wincl.cbClsExtra = 0;                      /* No extra bytes after the window class */

    wincl.cbWndExtra = 0;                      /* structure or the window instance */

    /* Use Windows's default color as the background of the window */

    wincl.hbrBackground = (HBRUSH) COLOR_BACKGROUND;


    /* Register the window class, and if it fails quit the program */

    if (!RegisterClassEx (&wincl))

        return 0;


    /* The class is registered, let's create the program*/

    hwnd = CreateWindowEx (

           0,                   /* Extended possibilites for variation */

           szClassName,         /* Classname */

           "Windows App",       /* Title Text */

           WS_OVERLAPPEDWINDOW, /* default window */

           CW_USEDEFAULT,       /* Windows decides the position */

           CW_USEDEFAULT,       /* where the window ends up on the screen */

           544,                 /* The programs width */

           375,                 /* and height in pixels */

           HWND_DESKTOP,        /* The window is a child-window to desktop */

           NULL,                /* No menu */

           hThisInstance,       /* Program Instance handler */

           NULL                 /* No Window Creation data */

           );


    /* Make the window visible on the screen */

    ShowWindow (hwnd, nFunsterStil);


    /* Run the message loop. It will run until GetMessage() returns 0 */

    while (GetMessage (&messages, NULL, 0, 0))

    {

        /* Translate virtual-key messages into character messages */

        TranslateMessage(&messages);

        /* Send message to WindowProcedure */

        DispatchMessage(&messages);

    }


    /* The program return-value is 0 - The value that PostQuitMessage() gave */

    return messages.wParam;

}



/*  This function is called by the Windows function DispatchMessage()  */


LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)

{

    switch (message)                  /* handle the messages */

    {

        case WM_DESTROY:

            PostQuitMessage (0);       /* send a WM_QUIT to the message queue */

            break;

        case WM_CREATE:

    CreateWindow("button","Click Me",WS_CHILD | WS_VISIBLE | BS_PUSHBUTTON, 20,20,100,25,hwnd,(HMENU)0,g_hInst,NULL);

    CreateWindow("button","Me Two",WS_CHILD | WS_VISIBLE | BS_PUSHBUTTON,20,50,100,25,hwnd,(HMENU)1,g_hInst,NULL);

    myText=CreateWindow("EDIT",

                           NULL,

                           WS_BORDER | WS_CHILD | WS_VISIBLE | WS_VSCROLL | ES_LEFT | 

                           ES_MULTILINE | ES_AUTOVSCROLL,

                           20,100,100,100,

                           hwnd,

                           (HMENU) 3,

                           g_hInst,

                           NULL);

            return 0;

  case WM_COMMAND:

switch(LOWORD(wParam))

{

case 0:

MessageBox(hwnd,"First Button Clicked","Button",MB_OK);

SetWindowText(myText,"First Button");

break;

case 1:

MessageBox(hwnd,"Second Button Clicked","Button",MB_OK);

SetWindowText(myText,"Second Button");

break;

}

return 0;

        default:                      /* for messages that we don't deal with */

            return DefWindowProc (hwnd, message, wParam, lParam);

    }


    return 0;

}


2012년 2월 27일 월요일

bada 2.0 펌웨어 업데이트

저의 경우는 공모전 때문에 2.0으로 유출펌업했는데요.

개발이 목적이라면 필 업하시고요. 아니시면 그냥 정식나오면 하시는 것이 좋을 것 같습니다.
유출펌업해서 정식업 안될 것 같아서 좀 걱정 되고요.
펌업하다가 벽돌 될 까봐 또 걱정무지 되었습니다, 그 기다리는 시간이 엄청 공포스러워요.
속도는 차이없고요. 화면은 좀 깔금하고 좋아요.

저는 여기서 펌업했습니다.

참고) 벽돌되어도 저는 책임없어요. ㅎ~

http://www.badaforums.net/forums/bada-firmware/firmware-flashing-guide-video-how-flash-the-wave-t1370.html

인증샷

제가 만든앱입니다.
혹 보시면 다운로드 해주시고 별 다섯개(10점) 빵빵하게 좀 주세요. ㅎㅎㅎㅎㅎ
 
2012 년 무료 입니다.ㅋ

2010년 12월 15일 수요일

바다 개발자데이 후기


바다 개발자데이 후기


Video (bada Developer Day)


2010년 12월 8일 서울 엘타워 그레이스홀 에서 바다 개발자 챌린지 수상자와 국내 개발자 분들이 모인 가운데 삼성 bada Developer Day 행사가 있었습니다.


휴대기기의 발전된 기술과 개인 개발자의 참여를 통한 스마트폰의 급격한 성장은 최근 스마트폰 비즈니스뿐만 아니라 사회 현상 전반에 여파를 끼치고 있는 것 같습니다.

이런 상황에서 국내에서도 개발자 분들이 한자리에 모인다는 것만으로도 참 설레는 일이였고. 다들 유명하신 분들이라 실제로 뵙게 되니 와우 참 기뻤습니다,


특히 바다지기님 하고 악수를 했는데 영광이었습니다. ㅋㅋ

우선 바다를 이해하고 알고 가자는 행사인만큼 “ Welcome to bada! ” 부터 시작해서 지난 1년간 bada 개발자를 위해 진행한 여러 지원 활동들을 소개가 되었고.

첫 번째 대규모 행사이기 때문인지 참석하신 분들은 매우 진지한 표정으로 간단한 메모나 노트북에 기록도 하고 분위기는 조용하면서 열정적이었습니다.

점심식사 후

저 휴지통과 팀 디자이너 cococo는 Track B (bada를 개발해 본 경험이 있는 분들을 위한 Track ) 로 이동해 여러 고급 정보를 얻었는데 그중 “How to design bada UX better” 부분은 cococo에게 많은 도움을 준 것 같습니다.
“Tips for game development : graphics, media, sensor” 부분은 저에게 3d 앱 개발 동기를 부여하는 내용이어서 참 좋았는데 모델링 데이터 처리와 충돌 부분이 빠진 것이 아쉬웠어요. 아무튼, 행사 마지막에 이벤트 와우~~ wave 폰 100대 경품 추첨했는데 대단했습니다.
우리 팀은 Developer Challenge 수상자라 이벤트 대상에서 제외되었는데 아마 대상이었다면 하나 당첨되었을 것 같은 느낌이드네요.ㅎㅎ


저는 경품 중~고수 2010년 올해도 10개 이상 당첨되었습니다.
2009년까지 받은 경품 사진은 여기에 있습니다. 인증샷 ㅋㅋ 잠시 저의 자랑이었습니다.

아무쪼록 bada 가 국내외 스마트폰 시장에서 중요한 역할을 할 수 있으리라 기대해 봅니다.
-


Sidewinder


World


FishMusic


LaughingBaby