Search:
Type: Posts; User: windowsxyz
Search:
Search took 0.05 seconds.
-
September 18th, 2014, 06:21 PM
900x500:
textbox = CreateWindowA("EDIT", "", WS_VISIBLE | WS_CHILD | WS_BORDER, 694, 219, 159, 21, hwnd, NULL, NULL, NULL);
button = CreateWindowA("BUTTON", "OK", WS_CHILD |...
-
September 18th, 2014, 02:42 PM
Yes the problem is how do I calculate this? I'm horrible at maths. Please someone post a solution, this is harder then I was ever expecting GUI creation to be.
-
September 18th, 2014, 11:59 AM
// bm.bmWidth
// bm.bmHeight
^ Use the above to get W and H in pixels. Next make window full screen and get the W and H in pixels again? How would I then calculate where everything needs to...
-
September 18th, 2014, 09:17 AM
Width = 900
Height = 500
The above is for the original window size (before being made full screen) and the bitmap.
How do I use what you posted sorry?
-
September 17th, 2014, 07:41 PM
Yes sounds as if it would work, but how? I have screen size width and height in variables W and H. But how do I calculate this? Thanks.
-
September 17th, 2014, 04:26 PM
I've been trying for hours. What displays for one screen size correctly displays incorrectly for another screen size. I respect everyone's patience but I just need one final bit of help, otherwise I...
-
September 16th, 2014, 03:43 PM
If you compile the source and have that image I posted in same folder you'd understand. But I'll try my best to explain; it moves EDIT and BUTTON to the right side of the screen, but it's a little...
-
September 16th, 2014, 01:57 PM
@Igor Vartanov
It's almost perfect, however the EDIT and BUTTON is still not exactly in the correct place.
With this code and the image (inside of the .rar I attached earlier) could you show...
-
September 16th, 2014, 07:05 AM
File it too large to upload so I have posted source here. Even the picture won't allow me to upload directly so I placed it inside of .rar
#include <windows.h>
LRESULT CALLBACK...
-
September 16th, 2014, 06:52 AM
I was told my admins to attach my source code rather then upload it, so check attached
I hope someone can help me implement it. Inside of the release folder is 'picture.bmp', use this to...
-
September 15th, 2014, 07:24 PM
I was told my admins to post my source here.
I hope someone can help me implement it. Inside of the release folder is 'picture.bmp', use this to understand roughly where the textbox (TEXT) and...
-
September 14th, 2014, 05:09 PM
How will I know the top left position, does this calculate where it should move:
BOOL CALLBACK ChildCall(HWND hwnd, LPARAM lParam)
{
CallPass *cp = (CallPass*)lParam;
SetWindowPos(hwnd, 0,...
-
September 14th, 2014, 02:05 PM
Sorry for not saying thanks or replying but I never got a proper chance to look at the code.
Would 2kaud or anyone else be able to help me implement it if I send you the visual c++ 2010 project...
-
August 16th, 2014, 08:48 AM
I've looked at this for a few days but honestly I'm lost, haven't got enough experience with WinAPI programming yet.
Would you be able to provide an example which displays a GUI and then when a...
-
August 13th, 2014, 06:13 AM
But the program will know how big the window is since I've used this code to get the size before I changed the window to that size.
int W = GetSystemMetrics(SM_CXSCREEN);
int H =...
-
August 13th, 2014, 05:56 AM
Before I attempt to do this can you confirm that I won't need to write the new coordinates (x and y) for the buttons etc... they will automatically figure out what new position to move to, correct?...
-
August 12th, 2014, 03:14 PM
Let me re-explain the question:
1) I create a window. The width is 900, the height is 500. There is no title bar, frame etc...
2) There are buttons etc… in different places on the form window....
-
August 11th, 2014, 12:36 PM
How do I do that? Sorry but I am completely lost. Want me to PM you the source code?
-
August 11th, 2014, 11:44 AM
If something does not make sense please post, I need help with this badly.
-
August 11th, 2014, 11:39 AM
Hi. Please ignore previous thread and read this one.
Pretend I create a button like this:
case WM_CREATE:
button = CreateWindowA("BUTTON", "SUBMIT", WS_VISIBLE | WS_CHILD |...
-
August 11th, 2014, 08:48 AM
Hi
I am making an application display a window with a background picture using Win32API. Here are the 2 problems:
1) Window code doesn't show window properly on some windows versions, I think...
-
June 23rd, 2014, 10:00 AM
Sorry the page didn't load correctly when I posted previously.
Thanks for moving thread, wasn't sure where to post it. I don't have much in terms of payment, it's the reason I didn't post in jobs...
-
June 23rd, 2014, 06:34 AM
Since it's not possible to PM on this forum please email me on: windowsxyz@hmamail.com and I'll reply on my work email.
-
June 23rd, 2014, 06:24 AM
Hi users
I was given a source code in C, it is quite basic just using stdio.h and time.h, nothing difficult.
I badly need this source converted into just WinAPI for a project, however I do not...
|
Click Here to Expand Forum to Full Width
|