Search:
Type: Posts; User: krs0
Search:
Search took 0.01 seconds.
-
March 5th, 2013, 02:48 AM
I do not use any c++ framework.
What I settled with, in the end is using a global variable that I can access from my Dialog.
-
March 1st, 2013, 03:41 AM
2. Parts of code I have from net examples and I was trying to quickly make them work. I see now what you mean with error checks.
-
February 28th, 2013, 07:54 AM
OK. Now I can access struct's members when I catch WM_INITDIALOG in my custom onInitDialog().
I still do not understand how to access/pass this struct from/to onButtonClicked().
-
February 28th, 2013, 07:17 AM
I think I am missing something basic here. Maybe I describe what I am trying to do:
I want to display a dialog with 2-3 buttons and some text. When the user clicks one of the buttons I want to...
-
February 28th, 2013, 05:54 AM
I want to pass some parameters to a dialog. I am trying to pass a struct as LPARAM in CreateDialogParam.
How to access this structure from ONOK for example?
Code:
struct DlgParam{...
-
February 28th, 2013, 05:43 AM
1. Pane(&hDlg, hInstance, nCmdShow);
This is how I want to create and display the dialog. I put the handler in hDlg so that I can use it later in IsDialogMessage(hDlg, &msg).
2. Can you post a...
-
February 28th, 2013, 04:58 AM
I have made a simple Pane class so that I can encapsulate a winapi Dialog.
I call it as:
Here the code I have, but it displays no dialog.
Here is what I do in main:
Pane(&hDlg,...
-
February 28th, 2013, 04:48 AM
Yes the IDC_STATIC was not ok. (probably because it was before reused by a static text control that I've deleted meantime). I've changed the control's ID as you suggested to ID_STATIC_ICON and it...
-
February 28th, 2013, 03:04 AM
The name was not ok. Ty for your help. (I had a static text box with IDC_STATIC, I deleted it and thought I could reuse the ID, something went wrong there).
-
February 27th, 2013, 09:44 AM
I made a dialog to have a customizable msgbox. (custom icon, custom caption on buttons).
This is how I try to display an icon on the dialog but it is not working. Can anyone help?
HICON hIcon...
-
October 16th, 2012, 04:04 AM
The concepts are familiar to me. The problem I have is putting them into practice :D.
-
October 16th, 2012, 03:20 AM
I am using SDL.
Was thinking to make a stl::list with all possible entries and display only a part of them. When I click one of the scroll buttons I make the corresponding edge element "invisible"...
-
October 13th, 2012, 03:45 PM
I do not know why it is unvalid. Here a link to an example of what I want to make.
http://i.imgur.com/VwXwJ.jpg
-
October 13th, 2012, 04:31 AM
I want to make something like this for a game:
30509
It is a "list box" that has 2 scroll buttons (scroll bar not needed). One button push, "scrolls" the list one entry.
Needs to run...
-
October 13th, 2012, 04:26 AM
I want to make something like this for a game:
30507
It is a "list box" that has 2 scroll buttons (scroll bar not needed). One button push, "scrolls" the list one entry.
Needs to run...
|
Click Here to Expand Forum to Full Width
|