Results 1 to 3 of 3

Thread: never seen this before

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jul 1999
    Posts
    1,800

    never seen this before

    Code:
    	if(ghWnd_Main) {
    		int hold = 3;
    		for(i=1; i<=5; i++)  {
    			INPUT[i] = CreateWindowEx(WS_EX_CLIENTEDGE, "Edit", "", WS_CHILD | WS_VISIBLE, 0, hold, 175, 20, ghWnd_Main, NULL, hInstance, NULL);
    			//START[i] = CreateWindow("Button", "&GO", WS_CHILD | WS_VISIBLE, 180, hold, 50, 20, ghWnd_Main, NULL, hInstance, NULL);
    		//	OUTPUT = CreateWindow("Button", "", WS_CHILD | WS_VISIBLE, , 60, 100, 25, ghWnd_Main, NULL, hInstance, NULL);
    			hold = hold + 23;
    		}
    		ShowWindow(ghWnd_Main, nCmdShow); // Show using the specific show style
    	}
    Every time I try to add a control my window doesn't show up

  2. #2
    PowerPoster abdul's Avatar
    Join Date
    Dec 2000
    Location
    Ontario,Canada
    Posts
    2,827
    Does it show up when you try to only show the window? Do you have the full code?
    Baaaaaaaaah

  3. #3
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Are you sure it is legal to not supply a child window ID (the HMENU parameter)?
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width