9,868,710 members (29,807 online)
Visit CodeProject.TV
Discuss CodeProject.TV
Sign in
Email
Password
Forgot your password?
Sign in using
home
articles
Chapters and Sections
>
Search
Latest Articles
Latest Tips/Tricks
Top Articles
Beginner Articles
Technical Blogs
Posting/Update Guidelines
Article Help Forum
Article Competition
Submit an article or tip
Post your Blog
quick answers
Ask a Question
View Unanswered Questions
View All Questions...
C# questions
ASP.NET questions
VB.NET questions
C#4.0 questions
C++ questions
discussions
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work & Training Issues
Design and Architecture
ASP.NET
JavaScript
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
Adobe Technologies
C#
Free Tools
Objective-C
Ruby On Rails
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
.NET Framework
Mobile
VS 11 & .NET 4.5
Sharepoint
Silverlight / WPF
Visual Basic
Web Development
Site Bugs / Suggestions
features
Component & Service Catalog
Competitions
News
The Insider Newsletter
Newsletter archive
Surveys
Product Showcase
Research Library
CodeProject Stuff
community
The Insider News
The Lounge
The Weird & The Wonderful
The Soapbox
Press Releases
Who's Who
Most Valuable Professionals
Company Listings
Non-English Language
>
General Indian Topics
General Chinese Topics
help
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
Site Map
Advertise with us
Employment Opportunities
About Us
The default search term operator is
AND
.
You can use brackets,
AND
,
OR
, and
NOT
to improve your search. For example:
C# AND NOT(VB or SQL)
A query of a single
*
will return everything, filtered by any filters.
Filter examples:
Search by Author
author:"author name"
Filter by tag
tag:C#
or
tag:(C++ or Java)
Wildcard search
use "?" or "*" eg.
gr?d
or
gr*
17 Results
Search
Everything
Articles
Technical Blogs
Tips & Tricks
Questions
Answers
Forum Messages
News Items
Catalog Items
Videos
Training Courses
Just My Stuff
My Bookmarks
Sort by
Relevance
Rating Asc
Rating Desc
Title Asc
Title Desc
Author Asc
Author Desc
Date Created Asc
Date Created Desc
Date Modified Asc
Date Modified Desc
Price Asc
Price Desc
Duration Asc
Duration Desc
Match
All Fields
Title
Description
Author(s)
Tags
Any Date
Last 12 hours
Last 24 hours
Last week
Last 2 weeks
Last month
Last 3 months
Last 6 months
Last year
January
February
March
April
May
June
July
August
September
October
November
December
Rating Range
All - Including Unrated
1.0 - 5.0
2.0 - 5.0
3.0 - 5.0
4.0 - 5.0
4.5 - 5.0
4.8 - 5.0
5.0
Advanced Filters:
Article Topics
All Topics
Desktop Development
Web Development
Mobile Development
Cloud Computing
Enterprise Systems
Database
Multimedia
Languages
Platforms, Frameworks & Libraries
General Programming
Graphics / Design
Development Lifecycle
General Reading
Third Party Products
Mentor Resources
Article License
All Licenses
CPOL
CDDL
Ms-PL
MPL
CPL
Eclipse
MIT
BSD
Apache
CC (ASA 2.5)
Zlib
Public Domain
CC (Attr 3U)
CC (ASA 3U)
LGPL3
GPL3
Forums
All Forums
Feature Forums
General Programming
Web Development
Product Lifecycle
Database & SysAdmin
General Discussions
Non-English Language
Catalog Category
All Categories
Books & Training
Charting & Graphing
Components, Controls, Libraries
Data Manipulation & Mining
Database Tools
Debugging
Documentation & Help
Financial, Math & Scientific
Frameworks & APIs
General Development Tools
GIS & Maps
Graphics & 3D Modeling
Hardware and Robotics
Hosting
IDEs
Imaging
Mobility
Multimedia
Networking
Performance and Profiling
Programming Languages
Project Life-cycle Management (ALM)
Reporting
Search
Security
Setup & Deploy
System Adminstration
Utilities
Virtualization
Web Design/Development
Catalog License
All Licenses
Commercial
Fully Function Evaluation version
Limited Functionality Trial
Limited Time Trial
Shareware
Free For Personal Use
Freeware
Page 1 of 1
Page Size:
10
·
25
·
50
Author filtered by: Nenad Smiljkovic
[x]
Child window doesn't display its own children.
by
Nenad Smiljkovic
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...
General Programming
»
Uncategorised Quick Answers
»
General
C++
Win32
Child window doesn't display its own children.
by
Nenad Smiljkovic
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...
General Programming
»
Uncategorised Quick Answers
»
General
C++
Win32
How to create child drop down menu for parent static control?
by
Nenad Smiljkovic
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...
General Programming
»
Uncategorised Quick Answers
»
General
C++
Win32
Should I owner draw this type of status bar or is there simpler way?
by
Nenad Smiljkovic
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...
General Programming
»
Uncategorised Quick Answers
»
General
C++
Win32
How to programmaticly size bitmap resource to fit inside button ?
by
Nenad Smiljkovic
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...
General Programming
»
Uncategorised Quick Answers
»
General
C++
Win32
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,...
General Programming
»
Uncategorised Quick Answers
»
General
C++
Windows
How can I create button showing icon and text using BS_ICON and sending BM_SETIMAGE?
by
Nenad Smiljkovic
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...
General Programming
»
Uncategorised Quick Answers
»
General
C++
Win32
Win32 API background image problems
by
Nenad Smiljkovic
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...
General Programming
»
Uncategorised Quick Answers
»
General
C++
Win32
How to load icon or bitmap in a static control with style SS_WHITERECT ?
by
Nenad Smiljkovic
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...
General Programming
»
Uncategorised Quick Answers
»
General
C++
Win32
How to load icon or bitmap in a static control with style SS_WHITERECT ?
by
Nenad Smiljkovic
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,...
General Programming
»
Uncategorised Quick Answers
»
General
C++
Win32
Win32 API background image problems
by
Nenad Smiljkovic
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...
General Programming
»
Uncategorised Quick Answers
»
General
C++
Win32
Win32 API background image problems
by
Nenad Smiljkovic
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(...
General Programming
»
Uncategorised Quick Answers
»
General
C++
Win32
Changing JAVA's default icon issue
by
Nenad Smiljkovic
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...
General Programming
»
Uncategorised Quick Answers
»
General
Java
Problem with ADO quering tables related with primary+foreign key
by
Nenad Smiljkovic
Question
29 Jun 2012
license:
CPOL
Hello,everyone...
General Programming
»
Uncategorised Quick Answers
»
General
C++
SQL
ADO
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...
General Programming
»
Uncategorised Quick Answers
»
General
C++
Win32
API
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...
General Programming
»
Uncategorised Quick Answers
»
General
C++
Win32
API
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
General Programming
»
Uncategorised Quick Answers
»
General
C++
Win32
API
Page 1 of 1
First
·
Prev
·
Next
·
Last
Advertise
|
Privacy
|
Mobile
Web03 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright ©
CodeProject
, 1999-2013
All Rights Reserved.
Terms of Use
Layout:
fixed
|
fluid