Search:
Type: Posts; User: Arnold Layne
Search:
Search took 0.13 seconds.
-
July 29th, 2003, 09:26 AM
Hi, everyone!
I'm dealing with an win32api app. Now I am creating an icon for it. Well, actually I have an *.ico file and I create successfully a small and a big icon for the app:
hicon =...
-
July 25th, 2003, 07:36 AM
yes, yes I made it at last - thanks a lot, both of you people. you 've been of great help :)
-
July 24th, 2003, 09:48 AM
Here's what I did and the thing breaks at SelectObject(...) :
//...
BITMAP bitmap;
bitmap.bmType = 0;
bitmap.bmWidth = w;
bitmap.bmHeight = h;
-
July 24th, 2003, 07:49 AM
What I do is this:
//...
HDC hdc, hmemdc;
WM_PAINT:
hmemdc = CreateCompatibleDC(GetDC(hwnd));
-
July 18th, 2003, 03:18 AM
Well, the title says it all: i deal w/ an MDI app and Win32 API. For each child of the app I need to be able to create a single window, which to be a child to the child so to say. The child uses...
-
July 16th, 2003, 11:02 AM
Thanks both of you, guys. You've been of help. I just wasn't very sure for my 2nd step if it should be
*(ppi + i) = (int* )calloc(num_columns, sizeof(int));
or
-
July 16th, 2003, 08:37 AM
Is this a/the right way to allocate memory for a 2D array of integer elements with 'num_rows' rows and 'num_columns' columns using double pointer and calloc()?
int **ppi;
int num_rows;...
-
:p
Pfu, then it comes down to 1:0 for the compiler...again :(
(are u 100% certain by the way?...).
sincerely,
vpv
-
Well, the title sys it all:
Can SetPixel(...) draw on memory DC?
Thanx a bunch, all of you people who stop here. C U. Bye.
Regards,
vpv
-
Yes, you are quite right about that, but what I'm trying to do is:
MDI app:
1)open new child window
2)ClassA inst;
3)do stuff w/ inst (exmpl: get data, set data etc)...
-
I am dealing with Win32 MDI app (no mfc) and I have this class:
class CFoo
{
CFoo_1 nested_class_member_1;
CFoo_2 nested_class_member_2;
int var1;
char var2;
unsigned char **ppvar3;
-
Is it worth the effort, rewriting my app for OpenGL, having in mind that I'll do image processing operations ONLY, and am not doing any 3D graphics? Am I gaining something at the and , how do you...
-
Ok, thank you. I guess I'll settle to SetDIBitsToDisplay() then.
-
June 30th, 2003, 10:51 AM
I've been trying to display a bitmap using SetPixel() API func. Here's what I do:
HDC LayOnDC(int width, int height, HDC hdc)
{
int i;
int j;
unsigned char index;
for(j = 0; j < height;...
-
June 27th, 2003, 02:12 AM
Heey, never dreamed it would be THAT easy ;)
Thanx a lot!
-
June 25th, 2003, 08:25 AM
Well, what I try to do is:
CMyClass
{
//....
public:
CMyClass(unsigned char *filename);
//...
}
-
June 25th, 2003, 07:36 AM
Okok. I found my mistake: I was messing things with the headers AND I didnt include lib.h in the StdAfx.h, as you explicitly told me :rolleyes:
Now i've got the lib within my project. When i try...
-
June 25th, 2003, 06:51 AM
Well, I had done these steps already. However I checked and rechecked everything and it still gives the same error:
'cannot open the first file that's inluded in the header of the lib. file...
-
June 25th, 2003, 06:01 AM
I just did what you said. Then i set mylib.lib in the include libs and in my project i added #include <mylib.h> (is that correct?)
I ge this error:d:\mylib\mylib.h(1) : fatal error C1083: Cannot...
-
June 25th, 2003, 05:17 AM
Hello, everyone!
Now I have this problem: I have some cpp files, each one having its own header. I have compiled them under vc++ 6.0 in Win32 app project. I wanted to make a static library from...
-
June 25th, 2003, 03:50 AM
And what about fltk GUI OS-portable library? Any opinions?
-
June 25th, 2003, 02:56 AM
I have little knowledge in the organization of DICOM file format myself. However I suggest you download a very useful image viewer (IrfanView) at:
http://www.tucows.com/preview/194967.html
It's...
-
June 23rd, 2003, 07:22 AM
Hi, guys!
I'm developing an MDI application, using Win32 APIs and i have problem displaying a menu for my child windows. Any idea how this can be done?
Thanks in advance.
Regards,
...
-
June 11th, 2003, 12:56 AM
Hahaha :)), it's ok. Though I must reckon that "Arnold Layne is not the same...it takes two to know" ;)
-
June 10th, 2003, 10:11 AM
Thanks a lot, Graham, I figured it out at last! And as you mentioned about "two-stage initialisation" being unwanted generally, I think I'll try to make the ctors of all my classes taking filename...
|
Click Here to Expand Forum to Full Width
|