Search:
Type: Posts; User: ledaker
Search :
Search took 0.01 seconds.
September 28th, 2012 01:58 PM
Hi all,
is it possible to change the border color of DialogBox without subclassing it in win32 ?
Regards.
September 25th, 2012 07:06 AM
Thank you Victor,
i have just resolved the problem by using the swprintf function.
September 25th, 2012 04:04 AM
Hi all,
I am using visual C++ 6.0 to build an unicode application, when i am compiling my code i have the following error:
error C2065: 'swprintf_s' : undeclared identifier
I have added the two...
I have changed the function SetClassLong with SetWindowLong, in this case i can subclass:
ComboBox Edit (g_oldEditProc6 = (WNDPROC)SetWindowLong(pcbi->hwndItem, GWL_WNDPROC,...
Hi,
yes it's a typo :o when i wrote the code in the post.the combobox is creating with the following styles (CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP).
Hi,
I am customizing a combobox control, to do that i am subclassing the listview of combobox but it doesn't work! this my code
COMBOBOXINFO *pcbi;
pcbi->cbSize = sizeof(COMBOBOXINFO);...
Hi all,
could you please help me to remove flick when i subclass an Edit control, this my code:
LRESULT CALLBACK WindowProcedureEdit(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{...
Thank you very much, i didn't code in win32 since 6 years, i forgot some basics ;).
When i try to create a listview (in red in the code) i have the 1407 error that means cannot find window class but the listbox is created !!!, i am using visual c++ 6.0.
#include "stdafx.h"...
Could you please give what style i can use to have a virtual listbox
hi all,
could i have a listbox with ownerdata like virtual listview in win32.
thanks in advance.
August 6th, 2011 02:44 PM
Hi all,
i wouldlike to create a listview control but the createwindow function return null :confused:
hWndListView = CreateWindow(WC_LISTVIEW,WC_LISTVIEW,WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS...
Thanks
the solution is :
lpvBase=VirtualAlloc(NULL,4096*4,MEM_RESERVE|MEM_COMMIT,PAGE_NOACCESS);
Hi all
SYSTEM_INFO System_Info;
GetSystemInfo(&System_Info);
printf("Page size :\t%d\n",System_Info.dwPageSize);
printf("Allocation granularity...
April 24th, 2009 03:10 AM
April 23rd, 2009 04:11 PM
Hi all, i am using ms access database, this database base contains a table with float column type. When i display this table in a datagridview if the float column contains 1,22 value, in the...
February 18th, 2009 02:07 AM
Hi all, i am not french !! and thanks for all :)
February 17th, 2009 09:17 AM
Hi all, i have this algorithm for decrypt a message how i can translate the functions in red to c#
'CIPHER.CLS
Option Explicit
Private msKeyString As String
Private msText As String
...
February 11th, 2009 06:07 AM
I think that the best way to do that is to use a System.Windows.Forms.UserControl not a System.Windows.Forms.Form for Form2, Form3.
February 11th, 2009 02:18 AM
try this :
DataRow[] countryDataRows = destinationsDataSet.Tables[countryDataSetTableName].Select("country_desc like '" + country+"'");
February 9th, 2009 09:33 AM
Yes you can by adding ADOX reference and :
ADOX.CatalogClass cat = new ADOX.CatalogClass();
cat.Create("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\dbase.mdb;Jet OLEDB:Engine Type=5");
January 22nd, 2009 02:33 PM
thanks foamy, i found this solution :
...
this.dataGridView1.EditingControlShowing += new...
January 21st, 2009 12:38 PM
Hi, how i prevent the user from entering data other than numbers to a DataGridView cell ?
January 19th, 2009 06:53 AM
Thanks, it works fine :wave:
Click Here to Expand Forum to Full Width