Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
J

Jose Cruz

@Jose Cruz
About
Posts
34
Topics
16
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How do I create Different view derived class ?
    J Jose Cruz

    Can somebody help me showing me how do I create two differente types of view. My project is using ATL/WTL and is a MDI. What I need is to be able to show two Childwindows with different content. One of them has to show my sales and the other my clients catalog.

    ATL / WTL / STL c++ question sales help

  • passing a pointer around
    J Jose Cruz

    So you think every body is like you

    ATL / WTL / STL help question

  • passing a pointer around
    J Jose Cruz

    My main problem is how do I pass a pointer of my connection object to the childviews, where the pointer is a public member of my childframe. Is there some way from my view that I could get a reference of the parent childframe? Can somebody please help me.

    ATL / WTL / STL help question

  • Using CTreeViewCtrl
    J Jose Cruz

    The main reason of asking this in this forum, was because I found that the message handling of the events is handled in diferent ways. So the way is handled in MFC projects is not the same as in WTL projects. So I rather be asking this to people of this forum because my project is an WTL/ATL project.

    ATL / WTL / STL question

  • Using CTreeViewCtrl
    J Jose Cruz

    Can somebody show me how do I implement in my view the event on item expanding using a CTreeViewCtrl derived class. Thanks:(

    ATL / WTL / STL question

  • ClassWizard database
    J Jose Cruz

    Does anybody knows how can I solved the following problem. When I make a ATL Project with the ATL/WTL AppWizard and I try to use the ClassWizard, I get the following error: The ClassWizard database c:\app\app.clw does not exist. Would you like to build it from your sorce files? After selecting my source files, it won't rebuildem. Does anybody knoes how can I correct(prevent) this problem. This happens also in my first time Visual C++ installation.

    ATL / WTL / STL c++ help question database

  • How do I work with CComPtr
    J Jose Cruz

    Can somebody show me how should I work with an CComPtr pointer. Are there any web links wich I can follow.

    ATL / WTL / STL question

  • Help with Error
    J Jose Cruz

    Can you please tell me how do I do that. Thank you:zzz:

    ATL / WTL / STL help debugging announcement workspace

  • Help with Error
    J Jose Cruz

    Can somebody help me eliminate the following error. I get this error when I compile for Release and not for debug. --------------------Configuration: esContaX - Win32 Release-------------------- Linking... LIBCMT.lib(crt0.obj) : error LNK2001: unresolved external symbol _main Release/esContaX.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. esContaX.exe - 2 error(s), 0 warning(s) I Know this error is related to that the function _main is somehow unrichable. But why could this happen only in release mode. :confused:

    ATL / WTL / STL help debugging announcement workspace

  • How do I convert a double to char
    J Jose Cruz

    :confused:I´m trying to convert a float to a char with the following code: double Total; char buffer[50]; Total = GetDouble(dbf, 2) + GetDouble(dbf, 3) + GetDouble(dbf, 4); _gcvt(Total,10,buffer); But the result is allways the same, even if the value of Total equals cero. Can some body help me.

    C / C++ / MFC help question

  • How do I call the choose folder dialog
    J Jose Cruz

    Yes, I have the following Function wich calls the BROWSEINFO API, but when I run this on Win98 I get an exception, but on winME everything works OK. Can somebody help me solve this problem.:confused: BOOL folderDialog(const HWND parent, const char *topic, char *result, const bool allowNew, const int extraFlags) { // CoInitialize must be called to support BIF_USENEWUI. OleInitialize(NULL); LPMALLOC pMalloc = NULL; LPITEMIDLIST pidl = NULL; BROWSEINFO bi; ZeroMemory(&bi, sizeof(BROWSEINFO)); // set the bi's default values bi.hwndOwner = parent; bi.lpszTitle = topic; bi.ulFlags = BIF_STATUSTEXT | extraFlags; if (!allowNew) { bi.ulFlags = bi.ulFlags; } pidl = SHBrowseForFolder(&bi); if(pidl != NULL) { SHGetPathFromIDList(pidl, result); // free memory if (FAILED(SHGetMalloc(&pMalloc))) { throw "SHGetMalloc Failed!"; } pMalloc->Free(pidl); pMalloc->Release(); OleUninitialize(); return (BOOL)strlen(result); } OleUninitialize(); return FALSE; }

    ATL / WTL / STL c++ question

  • How do I call the choose folder dialog
    J Jose Cruz

    I´m trying to show the Folder dialog. Does any body knows where can I get a sample ATL/WTL project with this.

    ATL / WTL / STL c++ question

  • Combo heigth problem
    J Jose Cruz

    Thakn you for your answer. Seems like everything it`s dificult not knowing how to do it

    ATL / WTL / STL help question

  • Combo heigth problem
    J Jose Cruz

    The problem is when I click on the combos down arrow, it won`t display the list. The list does contains some items. But I can`t see them.

    ATL / WTL / STL help question

  • How to creat an Object from with a pointer
    J Jose Cruz

    First I appreciate your answer. But What I really want to know is, if it is a good idea to use a Grid that resides in a DLL. And if so How do I create an Object of it. I did this but with MFC and the autogenerated wrapper classes and everything works OK but I don`t know how to use it in a ATL/WTL project. This is because if I try to use the generated class I get some error about undefined class.:omg:

    ATL / WTL / STL question css tutorial

  • How to creat an Object from with a pointer
    J Jose Cruz

    I have this code wich creates a Grid, this works using a wrapper class. CdxDBGrid m_grid; m_grid.Create(_T("TestGrid"),WS_CHILD|WS_VISIBLE, CRect(1, 2, 3, 4), this, 1); So the question How do I achive the same as above but with a pointer. Or how do I create a View with my pointer. IdxDBGridPtr m_pGrid:((

    ATL / WTL / STL question css tutorial

  • Combo heigth problem
    J Jose Cruz

    How do I set my combos height wich resides in a DialogBox:zzz:

    ATL / WTL / STL help question

  • How do I work with the '\'
    J Jose Cruz

    Ok this is the complete code CString strSection = "Files"; CString strStringItem = "DataFiles"; m_strAppPath= theApp.GetProfileString(strSection, strStringItem); // the value of m_strAppPath Now is = C:\esContaX\Archivos\TblPols.dbf TRACE(m_strAppPath.GetBuffer(m_strAppPath.GetLength())); //so trace shows C:\esContaX\Archivos\TblPols.dbf m_strAppPath.TrimRight('\\'); TRACE(m_strAppPath.GetBuffer(m_strAppPath.GetLength())); //Now trace shows the same value C:\esContaX\Archivos\TblPols.dbf return TRUE;

    C / C++ / MFC help question c++ debugging workspace

  • How do I work with the '\'
    J Jose Cruz

    My problem is: I´m trying to replace my file name from the CString wich value is "C:\esContaX\Archivos\TblPols.dbf" to finish with something like this: "C:\esContaX\Archivos\" using the following code: m_strAppPath.TrimRight('\'); , but I get the following errors: --------------------Configuration: esContaX - Win32 Debug-------------------- Compiling... esContaX.cpp C:\esContaX\esContaX.cpp(230) : error C2001: newline in constant C:\esContaX\esContaX.cpp(232) : error C2143: syntax error : missing ')' before 'return' C:\esContaX\esContaX.cpp(232) : warning C4305: 'argument' : truncation from 'const int' to 'char' C:\esContaX\esContaX.cpp(232) : warning C4309: 'argument' : truncation of constant value Error executing cl.exe. esContaX.exe - 2 error(s), 2 warning(s) Can somebody help me showing me how can I acomplish this.

    C / C++ / MFC help question c++ debugging workspace

  • LOW speed in opening Access database !
    J Jose Cruz

    MSDE stands for Microsoft Desktop engine. It´s a light version of SQL Server, this version comes without the graphical administrative tools. Follow the Link: http://www.codeproject.com/useritems/JetMSDE.asp

    C / C++ / MFC database game-dev html com graphics
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups