Click here to Skip to main content
Page 1 of 1
Page Size: 10 · 25 · 50


Author filtered by: Nenad Smiljkovic [x]
Question 14 May 2013   license: CPOL
Hello everyone! I would like to start by saying thanks to everyone who takes some time to view this thread and try to help. I have a main window, with a child static control ( for further discussion we shall label it as S1 ). That static control is parent to another static control ( for...
Answer 14 May 2013   license: CPOL
I have solved this!I am so embarrassed that I had to actually post a question like this!The problem was in coordinates passed to the child's CreateWindow() function.I have calculated the positioning of a child static control related to main window's coordinates, so I have passed 300...
Question 14 May 2013   license: CPOL
Hello everyone! I would like to start by saying thanks to everyone who takes some time to view this thread and try to help.I have a main window with a child static control. I have named the variable hsInfo.This static control is created with styles SS_BITMAP, SS_NOTIFY and...
Question 13 May 2013   license: CPOL
Hello everyone! I would like to start by saying thanks to everyone who takes some time to view this thread and try to help.I have main window with a child static control.Static control sends notification message when user clicks on it, which activates drop down menu.Menu should...
Question 13 May 2013   license: CPOL
Hello everyone!I would like to start by saying thanks to everyone who takes some time to view this thread and try to help.I need to create a status bar with following characteristics:- It has blue background;- Instead of text it has two push buttons;- It has an icon;So far I...
Question 12 May 2013   license: CPOL
Hello everyone! I would like to start by saying thanks to everyone who takes some time to view this thread and try to help.I have a bitmap that I load from resource file via LoadBitmap( ... ) function.I have also created button with BS_BITMAP style.The bitmap is loaded into...
Dialog Box creation in windows by Nenad Smiljkovic
Answer 10 May 2013   license: CPOL
Hi!I have a few question that might help you fix this problem of yours:#1:You declare global variable which has never been initialized:HWND hWnd;and then you call this function:DialogBox(hInstance, MAKEINTRESOURCE(IDD_DLGFIRST), hWnd,...
Question 10 May 2013   license: CPOL
Hello everyone!I would like to start by saying thanks to everyone who takes some time to view this thread and try to help.I need to make a button that is a child of a main window with following characteristics:- It has blue background;- I displays an icon;- It displays text under...
Answer 10 May 2013   license: CPOL
I have cracked it! Just a few modifications, and it all works.IMPORTANT INFORMATION:This solution was improved thanks to remarks from member CPallini.Here are the final adjustments:// hBitmap variable is declared as static and is outside of switch(...) statementstatic...
Answer 7 May 2013   license: CPOL
I have solved it!First, I must say BIG "thank you" to member Jochen Arndt for suggesting me to owner draw the control, and providing detailed suggestions in his comment.UPDATE #1:************************************************************Jochen Arndt's solution works perfect if...
Question 5 May 2013   license: CPOL
Hello everyone! I would like to start by saying thanks to everyone who takes some time to view this thread and try to help.I have made a static control with following code in WM_CREATE:HWND hStatic1 = CreateWindowEx( NULL, "STATIC", "", WS_CHILD | WS_VISIBLE | SS_ICON | SS_WHITERECT,...
Question 4 May 2013   license: CPOL
Hello everyone!I would like to start by saying thanks to everyone who takes some time to view this thread and try to help.I work on a project where .bmp file must be a background image of a main window.I work in MS Visual Studio Express Edition 2008, in C++, using WIN32 API, on...
Answer 4 May 2013   license: CPOL
I have cracked it!Just a few modifications, and it all works.Here are the adjustments:solved issue with duplicated picturecase WM_SIZE: InvalidateRect(hwnd,NULL,FALSE); break;notice the curly braces !case WM_PAINT:{ HBITMAP hBitmap = LoadBitmap(...
Question 30 Apr 2013   license: CPOL
Hello everybody!I would like to first start by saying thanks to everyone who takes some time to view this thread and try to help.I am building GUI in JAVA.I wanted to change JAVA's default icon ( coffee cup ) into my own icon.The problem i have is following:I have managed to...
Convert integer to Excel range by Nenad Smiljkovic
Question 3 Jun 2012   license: CPOL
Hello everyone,this is my first post here.I would like to start by saying thanks to everyone who takes some time to view this thread and try to help.The problem i have is following:I have read following Microsoft article(http://support.microsoft.com/kb/216686[^]): "How to automate...
Convert integer to Excel range by Nenad Smiljkovic
Answer 29 May 2012   license: CPOL
I have solved it finally!!enhzflep was right!However he didn't read the article properly.The first solution deals with base where 'A'=0,yet we need the case where 'A'=1,which is described at the bottom of the article he pointed me on (http://en.wikipedia.org/wiki/Hexavigesimal[^]) under the...
Convert integer to Excel range by Nenad Smiljkovic
Answer 28 May 2012   license: CPOL
Hi again,I have changed nv3's solution a bit and it works!Here is the changed code:wchar_t colName[3]; if (cntCols

Page 1 of 1


Advertise | Privacy | Mobile
Web04 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid