modify window component properties on runtime
Hi I want modify window component properties on runtime from other program Like this https://sites.google.com/site/partycaption/fonts regards
View ArticleC++ Files.
Can someone tell me why the statement *if( read.eof() )* is not executed? I'm reading the whole file so this stream should reach the end of file, yet i can't understand why the statement is not...
View ArticleWhy an application is no longer "themable" if I move out the uxtheme.dll file?
I created a themed application and I put the uxtheme.dll inside it, then there is no "theming" effect... But when I remove that local file, then keep using the syswow64 one, it works very well. How...
View ArticleDatabase connection confusion
Hi, ALL, On the page (https://docs.microsoft.com/en-us/sql/odbc/reference/syntax/sqlgetinfo-function) it says: ---Quote--- SQL_USER_NAME(ODBC 1.0) A character string with the name used in a particular...
View ArticleHow is it possible to theme the start button and start menu etc?
https://www.codeproject.com/Articles/7247/Themed-Windows-XP-style-Explorer-Bar I have created a hacked version of xp explorer. Does anyone know how to theme the start button, taskbar and the start...
View ArticleSimulate cursor ( mouse ) movement
Code: --------- int x = 100; int y = 100; SetCursorPos(x,y); Sleep(2000); SetCursorPos(x+100,y+200); --------- This code sets cursot to one dot, after 2 seconds to another dot. However cursor just...
View Article[RESOLVED] c++ dictionary
I have a total new concept I want to use . I never used this before . I want to add a dictionary to my c++ program I want it to be able to include it in my program to use it to search for words in 2d...
View ArticleRibbon on a child frame, possible?
Hi! I´m migrating an aplication from old style Windows to new ones with ribbons. This aplication is a MDI model and every child window has his own toolbar. Would be cool if I could change these...
View ArticleNeed help drawing rectangle on Windows desktop...
I have created an application that copies a specified rectangle from the Windows desktop and creates a video stream from it. I have the basic functionality working. I need a means of drawing a...
View ArticleHow do I put a COM-aware control onto a form (.rc file) or programatically?
How do I make the controls in my form located in my .rc file aware of the theme wrapper? It exposes theme related functionality I want to either put the controls coming from Advanced Theme wrapper...
View ArticleSQLBindCol() for the char column
Hi, ALL, I have a problem. I'm trying to connect to MS SQL Server and perform a query. The table I am trying to access has a "char(1)" column. This is the code I'm using: Code: SQLWCHAR...
View ArticleProblem with utf-8 on Linux
I am looking for help on how to transfer cpp file with international characters from MSVC++ to Ubuntu.. such as: const string sTest = "ČĆĐ". To save that on MS Visual studio as UTF-8 or codepage...
View ArticleReading Binary Files in C++
I am having trouble taking values from byte locations in my file. The code below works for certain locations where you have to read 2-bytes, it does not seem to work with 4-bytes however. I believe...
View ArticleCreating a VERTICAL Histogram or Bar Graph
I am writing a C++ program that inputs a file of 3000 resistor files and writes them to a vector. I have already done the vast majority of the program, and now I am just trying to display a VERTICAL...
View ArticleHow to fix this warning?
Hi, guys, I have following code: Code: int bufferSize = 1024; SQLSMALLINT lenUsed; for( int i = 0; i < numCols; i++ ) { autoincrement = 0; columnNames[i] = new SQLWCHAR[sizeof( SQLWCHAR ) *...
View ArticleFunction sequence error
Hi, My application connects to MS SQL Server performs some queries and then disconnects and finishes. Upon disconnecting I'm releasing all handles that I allocated on connection. Unfortunately when...
View Articlestone division code
Consider the following game: There are two players, First and Second, sitting in front of a pile of stones. First always plays first. There is a set, , of distinct integers defined as . The players...
View ArticleQuery fails with C++ ODBC - works with Management Studio
Hi, ALL, I'm trying to execute a following query (using MSBV 2010, ODBC, SQL Server 2008): Code: --------- L"SELECT rtrim(abt_tnam), abt_tid, rtrim(abt_ownr), abd_fhgt, abd_fwgt, abd_fitl, abd_funl,...
View ArticleAntivirus app
Hi all of you. I intend to develop an light antivirus application, and I have some questions first: 1. Is there somewhere an virus signature database, available for development ? 1. How can I test an...
View Article