Search:
Type: Posts; User: THEARTOFWEB
Search:
Search took 0.02 seconds.
-
February 20th, 2010, 05:18 AM
Hi,
I'd like my app to show a small dialog when the main windows is minimized. Now, I think that's not a big deal to cacth the message when the main window gets minimized. Also, this is how the...
-
February 19th, 2010, 07:44 PM
By the way, this works great as a splash screen:
//
// Splash Screen
//
IDD_SPLASH DIALOG 0, 0, 300, 200
STYLE DS_3DLOOK | DS_ABSALIGN | DS_CENTER | DS_FIXEDSYS | WS_VISIBLE | WS_POPUP
-
February 19th, 2010, 07:11 PM
Hi,
I am experiencing strange behavior when tring to compile a projetc. I created a new win32 Project that comes with a "stdafx.h" and "stdafx.cpp" files. The entry point of the app "int...
-
February 19th, 2010, 01:35 AM
Actually, I am forced to use regular win32 API instead of MFC.
-
February 18th, 2010, 05:42 PM
First I'd need to know how to retrieve screen size. then I would I would divede width / 2 and height / 2. If my sreensplash window is 320x240 then I shoule place it (screen width / 2) - (window size...
-
February 18th, 2010, 04:40 PM
I too would like to create a splash screen (non mfc). I was just wondering what the standard size is for a splash screen(width/height) and how I can show it in the very center of the screen (in a...
-
February 18th, 2010, 03:47 PM
btw if I were you I'd always initialiaze vars with something:
char arr[99] = {0};
-
February 16th, 2010, 01:52 PM
I tried adding this:
case WM_GETMINMAXINFO:
pMMI = (LPMINMAXINFO)lParam;
pMMI->ptMaxTrackSize.x = 300;
pMMI->ptMaxTrackSize.y = 300;
break;
-
February 16th, 2010, 01:40 PM
uhm...I think I need some help with that
-
February 16th, 2010, 01:37 PM
by the way, I have found the the status bar does not need any actual parameters to be redrawn! the following creates a status bar in the Dialog:
// Create Status Bar
//...
-
February 16th, 2010, 11:38 AM
I guess this is the right code to achieve the goal:
int dlgw = 0;
int dlgh = 0;
TCHAR szWidth[5] = {0};
TCHAR szHeight[5] = {0};
TCHAR marameo[256] = {0};...
-
February 16th, 2010, 10:27 AM
I noticed something strange with this code:
INT_PTR CALLBACK procPopup(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
{
UNREFERENCED_PARAMETER(lParam);
RECT rc;...
-
February 16th, 2010, 08:29 AM
I am not really sure:
#include <windowsx.h>
// Declare
void Cls_OnCommand(HWND hwnd, int message, HWND hwndCtl, UINT codeNotify);
-
February 16th, 2010, 05:45 AM
Hi,
Is there any differences using one or another?
DialogBox(hInst, MAKEINTRESOURCE(IDD_POPUP), hWnd, (DLGPROC)procPopup);
ShowWindow(
CreateDialog(hInst,...
-
February 15th, 2010, 08:44 PM
I see lots of examples of how to do this out there but they are all for MFC
or other toolkits. I need to do this in a C++ app using normal win32 API
calls.
-
February 15th, 2010, 08:29 PM
Hi,
I am dealing with dialog window created usign ResEdit as a resource editor. Now, I'd need to make a window resizable and to have all the child controls in it resize themselves according to...
-
February 14th, 2010, 07:36 PM
now it's working! By the way, do you have any idea what those long number mean?
CONTROL "", IDC_LIST1, WC_LISTVIEW, WS_TABSTOP | WS_BORDER | LVS_ALIGNLEFT | LVS_REPORT, 4294967294, 4294967295,...
-
February 14th, 2010, 06:05 PM
Hi,
I am using ResEdit as a resource builder. I created a dialogex like this:
IDD_POPUP DIALOGEX 25, 25, 485, 254
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION |...
-
February 13th, 2010, 08:43 PM
I am sorry that was my mistake!
for(itt=rows.begin(); itt!=rows.end(); ++itt)
{
lvi.iItem = itt->first;
lvi.iSubItem = 0;
ListView_InsertItem(hlistview, &lvi);
-
February 13th, 2010, 08:37 PM
Also, I ma having a lot of compiler errors because of this:
struct petinfo
{
TCHAR szKind[10];
TCHAR szBreed[50];
TCHAR szPrice[20];
};
-
February 13th, 2010, 08:20 PM
Thank you ever so much!
By the way, do yo think there's any way to add a line between the rows (not that important to me though)
-
February 13th, 2010, 05:25 PM
-
February 13th, 2010, 05:17 PM
Hi,
I am using the following code to create a List View Control:
// Adding List-View Columns
TCHAR szText[256] = {0};
TCHAR szString[5][20] = { TEXT("Column 1"),TEXT("Column...
-
February 13th, 2010, 03:43 PM
Yeah, I am stuck with teh old win95 look. I tried your code and the style looks bad. Here's is an example (shown from ResEdit)
http://theartofweb.net/cpp/NaioCAST.PNG
while this is the same...
-
February 13th, 2010, 02:33 PM
that is not working for me :-( I am on windows vista...by the way, do you think I should use SetWindowTheme() to force a stlye?
I guess I should turn to different gui libraries like QT or GTK+
|
Click Here to Expand Forum to Full Width
|